Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9601/0.9601, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7567/0.7567, allocations: 154.9 MB / 414.8 MB, free: 408 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 0.5207 GB, free: 1.723 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.462e-05, allocations: 4.703 kB / 0.5208 GB, free: 1.719 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001673/0.001698, allocations: 1.033 MB / 0.5218 GB, free: 0.707 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009909/0.002689, allocations: 1.047 MB / 0.5228 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.672e-05/0.002776, allocations: 7.938 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.002895, allocations: 19.73 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.996e-05/0.002945, allocations: 25.72 kB / 0.5228 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.003177, allocations: 71.78 kB / 0.5229 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.003323, allocations: 180.1 kB / 0.5231 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.003434, allocations: 56.52 kB / 0.5231 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.003534, allocations: 104.3 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.785e-05/0.003602, allocations: 60.78 kB / 0.5233 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.003625, allocations: 16 kB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 3.974e-05/0.003665, allocations: 16 kB / 0.5233 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.096e-05/0.003696, allocations: 44.67 kB / 0.5234 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.106e-05/0.003747, allocations: 47.89 kB / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.003931, allocations: 128.4 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.003936, allocations: 7.984 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.52e-07/0.003936, allocations: 0 / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.00394, allocations: 1.031 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000485/0.004425, allocations: 0.5049 MB / 0.524 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.004454, allocations: 12.03 kB / 0.524 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.004555, allocations: 28.84 kB / 0.5241 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.004718, allocations: 175.2 kB / 0.5242 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.004736, allocations: 12.38 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.004759, allocations: 17.02 kB / 0.5243 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.004948, allocations: 164.4 kB / 0.5244 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.004955, allocations: 1.469 kB / 0.5244 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.004968, allocations: 12.12 kB / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.004975, allocations: 4 kB / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.915e-05/0.005054, allocations: 53.42 kB / 0.5245 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005631/0.005617, allocations: 480.5 kB / 0.5249 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.005847, allocations: 109.6 kB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.442e-05/0.005912, allocations: 55.64 kB / 0.5251 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.005931, allocations: 2.312 kB / 0.5251 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/0.006048, allocations: 118.7 kB / 0.5252 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=19): time 1.744e-06/0.00605, allocations: 0 / 0.5252 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.0002333/0.006283, allocations: 162.9 kB / 0.5254 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.006312, allocations: 55.41 kB / 0.5254 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.853e-05/0.00641, allocations: 199.8 kB / 0.5256 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.006429, allocations: 30.64 kB / 0.5256 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/0.006498, allocations: 171.2 kB / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.00654, allocations: 70.52 kB / 0.5259 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.006586, allocations: 43.36 kB / 0.5259 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.006697, allocations: 0.5001 MB / 0.5264 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.048e-05/0.006778, allocations: 31.98 kB / 0.5264 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.385e-05/0.006842, allocations: 58.59 kB / 0.5265 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.006951, allocations: 97.67 kB / 0.5266 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.006953, allocations: 0 / 0.5266 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001652/0.007118, allocations: 148.5 kB / 0.5267 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.007128, allocations: 4 kB / 0.5267 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.007133, allocations: 3.984 kB / 0.5267 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.007145, allocations: 4 kB / 0.5267 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.794e-05/0.007243, allocations: 39.92 kB / 0.5268 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.007247, allocations: 0 / 0.5268 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.007292, allocations: 19.92 kB / 0.5268 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.007302, allocations: 9.484 kB / 0.5268 GB, free: 11.31 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.818e-05/0.00738, allocations: 172.5 kB / 0.527 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.007397, allocations: 15.91 kB / 0.527 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.007565, allocations: 141.6 kB / 0.5271 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.007569, allocations: 3.984 kB / 0.5271 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.007573, allocations: 8 kB / 0.5271 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.007576, allocations: 4.562 kB / 0.5271 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.008011, allocations: 0.5203 MB / 0.5276 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.008013, allocations: 2.938 kB / 0.5276 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.809e-05/0.008101, allocations: 43.91 kB / 0.5277 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.008105, allocations: 0 / 0.5277 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.008116, allocations: 4 kB / 0.5277 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.008119, allocations: 4 kB / 0.5277 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.008121, allocations: 3.938 kB / 0.5277 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.008375, allocations: 373.5 kB / 0.5281 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.343e-05/0.008388, allocations: 23.84 kB / 0.5281 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.008403, allocations: 4 kB / 0.5281 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.946e-05/0.008463, allocations: 15.92 kB / 0.5281 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.008503, allocations: 23.91 kB / 0.5281 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.008513, allocations: 11.98 kB / 0.5281 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.724e-05/0.00856, allocations: 144.6 kB / 0.5283 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.00856, allocations: 0 / 0.5283 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001698/0.00873, allocations: 32 kB / 0.5283 GB, free: 9.664 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.702e-05/0.008807, allocations: 108.2 kB / 0.5284 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001543/0.008961, allocations: 108.6 kB / 0.5285 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.008963, allocations: 0 / 0.5285 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.09e-05/0.009023, allocations: 68.31 kB / 0.5286 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.009225, allocations: 29.2 kB / 0.5286 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005647/0.009789, allocations: 377.7 kB / 0.529 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.473e-05/0.009834, allocations: 72.06 kB / 0.529 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.108e-05/0.009875, allocations: 19.95 kB / 0.529 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/0.009921, allocations: 20.48 kB / 0.5291 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of SimCode: time 6.91e-07/0.009921, allocations: 0 / 0.5291 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of Templates: time 0.003178/0.0131, allocations: 1.83 MB / 0.5309 GB, free: 7.09 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7690393859520555]