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.001468/0.001468, allocations: 88.72 kB / 19.44 MB, free: 348 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.002075/0.002075, allocations: 157.7 kB / 22.75 MB, free: 1.676 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 1.472/1.472, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 1.252/1.252, allocations: 154.8 MB / 414.3 MB, free: 464 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 178] 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.094e-06/2.094e-06, allocations: 0 / 0.5199 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.356e-05/3.566e-05, allocations: 4.266 kB / 0.5199 GB, free: 2.203 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002534/0.00257, allocations: 1.004 MB / 0.5209 GB, free: 1.227 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.004365, allocations: 1.028 MB / 0.5219 GB, free: 192 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.004515, allocations: 7.938 kB / 0.5219 GB, free: 184 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.004696, allocations: 15.8 kB / 0.5219 GB, free: 168 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.004803, allocations: 25.09 kB / 0.522 GB, free: 144 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.005174, allocations: 75.77 kB / 0.522 GB, free: 68 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003014/0.005475, allocations: 180 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.005662, allocations: 57.92 kB / 0.5223 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002022/0.005864, allocations: 103.8 kB / 0.5224 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.005983, allocations: 59.83 kB / 0.5224 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.947e-05/0.006022, allocations: 18.59 kB / 0.5224 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.867e-05/0.006091, allocations: 20 kB / 0.5224 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.254e-05/0.006154, allocations: 39.83 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.231e-05/0.006246, allocations: 51.83 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003545/0.0066, allocations: 191.3 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.006604, allocations: 0 / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.024e-06/0.006606, allocations: 4 kB / 0.5227 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.006619, allocations: 0.5625 kB / 0.5227 GB, free: 15.35 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.001114/0.007733, allocations: 423.9 kB / 0.5231 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.007773, allocations: 9.562 kB / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.007941, allocations: 32.78 kB / 0.5232 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.008331, allocations: 174.6 kB / 0.5233 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.00836, allocations: 13.17 kB / 0.5233 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.579e-05/0.008416, allocations: 24.31 kB / 0.5234 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004272/0.008843, allocations: 177.2 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.008855, allocations: 4.188 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.008878, allocations: 8.125 kB / 0.5235 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.008886, allocations: 4 kB / 0.5236 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000316/0.009202, allocations: 101.1 kB / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.0104, allocations: 454.8 kB / 0.5241 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004372/0.01084, allocations: 131.2 kB / 0.5242 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.01104, allocations: 78.73 kB / 0.5243 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.01107, allocations: 7.984 kB / 0.5243 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002911/0.01136, allocations: 141.1 kB / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=19): time 1.774e-06/0.01136, allocations: 1.531 kB / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.0006531/0.01202, allocations: 231.2 kB / 0.5246 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.01207, allocations: 56.91 kB / 0.5247 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.01222, allocations: 147.7 kB / 0.5248 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.01226, allocations: 29.7 kB / 0.5249 GB, free: 13 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.01237, allocations: 116.5 kB / 0.525 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.679e-05/0.01246, allocations: 67.89 kB / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.324e-05/0.01254, allocations: 42.73 kB / 0.5251 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.01274, allocations: 326.8 kB / 0.5254 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.01297, allocations: 65.09 kB / 0.5255 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.01321, allocations: 93.5 kB / 0.5255 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.01361, allocations: 147.3 kB / 0.5257 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01361, allocations: 0 / 0.5257 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005675/0.01418, allocations: 212 kB / 0.5259 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.0142, allocations: 8 kB / 0.5259 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.0142, allocations: 0 / 0.5259 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.01423, allocations: 0 / 0.5259 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.01446, allocations: 47.91 kB / 0.5259 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.01447, allocations: 0 / 0.5259 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.01462, allocations: 29.84 kB / 0.526 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.01464, allocations: 8 kB / 0.526 GB, free: 11.84 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 0.0001467/0.01479, allocations: 133.7 kB / 0.5261 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/0.01483, allocations: 19.91 kB / 0.5261 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004761/0.01531, allocations: 189.3 kB / 0.5263 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.01532, allocations: 7.984 kB / 0.5263 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.01532, allocations: 0 / 0.5263 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.01533, allocations: 3.25 kB / 0.5263 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009782/0.01631, allocations: 0.5067 MB / 0.5268 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01631, allocations: 2.875 kB / 0.5268 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.0165, allocations: 39.92 kB / 0.5269 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.01651, allocations: 4 kB / 0.5269 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.01653, allocations: 8 kB / 0.5269 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/0.01654, allocations: 3.984 kB / 0.5269 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/0.01655, allocations: 7.938 kB / 0.5269 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007482/0.01729, allocations: 387.7 kB / 0.5272 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.01733, allocations: 15.91 kB / 0.5273 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.01736, allocations: 9.281 kB / 0.5273 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.01755, allocations: 23.95 kB / 0.5273 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.725e-05/0.01763, allocations: 19.91 kB / 0.5273 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.01765, allocations: 8.562 kB / 0.5273 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001014/0.01775, allocations: 112.1 kB / 0.5274 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01775, allocations: 0 / 0.5274 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003768/0.01813, allocations: 31.94 kB / 0.5275 GB, free: 10.23 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 0.0001687/0.0183, allocations: 100.6 kB / 0.5276 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004834/0.01878, allocations: 157.5 kB / 0.5277 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.01879, allocations: 4 kB / 0.5277 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.019, allocations: 81.44 kB / 0.5278 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.01939, allocations: 34.27 kB / 0.5278 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008212/0.02021, allocations: 367.5 kB / 0.5282 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.02036, allocations: 114.8 kB / 0.5283 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.8e-05/0.02043, allocations: 16.23 kB / 0.5283 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.009e-05/0.0205, allocations: 16.5 kB / 0.5283 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.0205, allocations: 0 / 0.5283 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of Templates: time 0.005874/0.02638, allocations: 1.758 MB / 0.53 GB, free: 7.645 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.886429064092226]