Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.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.001023/0.001023, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.00101/0.00101, allocations: 173 kB / 23.49 MB, free: 1.059 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.9416/0.9416, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.8472/0.8472, allocations: 154.8 MB / 415.1 MB, free: 492 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.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.5205 GB, free: 1.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.111e-05/3.283e-05, allocations: 5.375 kB / 0.5205 GB, free: 1.246 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002441/0.002474, allocations: 1.3 MB / 0.5218 GB, free: 15.96 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003039/0.005513, allocations: 3.368 MB / 0.5251 GB, free: 12.59 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.005539, allocations: 0.8125 kB / 0.5251 GB, free: 12.59 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.74e-05/0.005557, allocations: 0 / 0.5251 GB, free: 12.59 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.593e-05/0.005603, allocations: 15.02 kB / 0.5251 GB, free: 12.57 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004827/0.006085, allocations: 103.4 kB / 0.5252 GB, free: 12.47 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.884e-05/0.006154, allocations: 39.83 kB / 0.5252 GB, free: 12.43 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.939e-05/0.006194, allocations: 0 / 0.5252 GB, free: 12.43 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.666e-05/0.00625, allocations: 23.92 kB / 0.5253 GB, free: 12.41 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.886e-05/0.006309, allocations: 20.97 kB / 0.5253 GB, free: 12.39 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.006321, allocations: 0 / 0.5253 GB, free: 12.39 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.006482, allocations: 71.69 kB / 0.5253 GB, free: 12.32 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.006497, allocations: 12.55 kB / 0.5254 GB, free: 12.31 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.006518, allocations: 8.938 kB / 0.5254 GB, free: 12.3 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.006665, allocations: 71.78 kB / 0.5254 GB, free: 12.23 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.006666, allocations: 0 / 0.5254 GB, free: 12.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.006667, allocations: 9.531 kB / 0.5254 GB, free: 12.22 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.006671, allocations: 0 / 0.5254 GB, free: 12.22 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003652/0.007037, allocations: 372.2 kB / 0.5258 GB, free: 11.82 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.007075, allocations: 9 kB / 0.5258 GB, free: 11.82 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.007189, allocations: 17.17 kB / 0.5258 GB, free: 11.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.304e-05/0.007262, allocations: 106.8 kB / 0.5259 GB, free: 11.67 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.007274, allocations: 8.375 kB / 0.5259 GB, free: 11.66 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.007296, allocations: 4.375 kB / 0.5259 GB, free: 11.66 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.007427, allocations: 131.3 kB / 0.5261 GB, free: 11.51 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/0.007434, allocations: 192 / 0.5261 GB, free: 11.51 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.007447, allocations: 8.125 kB / 0.5261 GB, free: 11.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.007454, allocations: 0.75 kB / 0.5261 GB, free: 11.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.645e-05/0.007491, allocations: 15.92 kB / 0.5261 GB, free: 11.48 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001234/0.007614, allocations: 125.3 kB / 0.5262 GB, free: 11.33 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.614e-05/0.00769, allocations: 59.03 kB / 0.5263 GB, free: 11.26 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.429e-05/0.007715, allocations: 16.52 kB / 0.5263 GB, free: 11.24 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000456/0.008171, allocations: 297.9 kB / 0.5266 GB, free: 10.93 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.008194, allocations: 41.33 kB / 0.5266 GB, free: 10.88 MB / 458.7 MB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.008196, allocations: 0 / 0.5266 GB, free: 10.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004366/0.008632, allocations: 230.8 kB / 0.5268 GB, free: 10.61 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.008659, allocations: 51.41 kB / 0.5269 GB, free: 10.55 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.179e-05/0.008731, allocations: 163.3 kB / 0.527 GB, free: 10.38 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.008743, allocations: 29.7 kB / 0.5271 GB, free: 10.34 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.008792, allocations: 134.8 kB / 0.5272 GB, free: 10.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.008808, allocations: 27.8 kB / 0.5272 GB, free: 10.18 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.00884, allocations: 34.12 kB / 0.5272 GB, free: 10.14 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.008949, allocations: 496.1 kB / 0.5277 GB, free: 9.641 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.008968, allocations: 12 kB / 0.5277 GB, free: 9.629 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.568e-05/0.009014, allocations: 66.11 kB / 0.5278 GB, free: 9.539 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.913e-05/0.009083, allocations: 92.17 kB / 0.5279 GB, free: 9.426 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.009084, allocations: 0 / 0.5279 GB, free: 9.426 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 9.311e-05/0.009177, allocations: 93.5 kB / 0.528 GB, free: 9.328 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.009191, allocations: 8 kB / 0.528 GB, free: 9.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.009195, allocations: 0.8125 kB / 0.528 GB, free: 9.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.009209, allocations: 4 kB / 0.528 GB, free: 9.316 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.698e-05/0.009256, allocations: 20.78 kB / 0.528 GB, free: 9.297 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.009261, allocations: 0 / 0.528 GB, free: 9.297 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.065e-05/0.009282, allocations: 8.484 kB / 0.528 GB, free: 9.289 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.009288, allocations: 9.031 kB / 0.528 GB, free: 9.281 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 6.348e-05/0.009351, allocations: 164.5 kB / 0.5282 GB, free: 9.109 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.009371, allocations: 9.219 kB / 0.5282 GB, free: 9.102 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/0.009398, allocations: 8.125 kB / 0.5282 GB, free: 9.09 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.009399, allocations: 3.938 kB / 0.5282 GB, free: 9.086 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.009403, allocations: 0 / 0.5282 GB, free: 9.086 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.009406, allocations: 0.6562 kB / 0.5282 GB, free: 9.086 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.009543, allocations: 136 kB / 0.5283 GB, free: 8.922 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.009544, allocations: 0 / 0.5283 GB, free: 8.922 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.815e-05/0.009592, allocations: 19.92 kB / 0.5283 GB, free: 8.902 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.009596, allocations: 4.281 kB / 0.5284 GB, free: 8.898 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.009603, allocations: 0 / 0.5284 GB, free: 8.898 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.009604, allocations: 0 / 0.5284 GB, free: 8.898 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.009605, allocations: 0 / 0.5284 GB, free: 8.898 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.009756, allocations: 227.8 kB / 0.5286 GB, free: 8.656 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.111e-05/0.009778, allocations: 12.39 kB / 0.5286 GB, free: 8.645 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.009787, allocations: 0 / 0.5286 GB, free: 8.645 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.712e-05/0.009834, allocations: 10.92 kB / 0.5286 GB, free: 8.637 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.00985, allocations: 4 kB / 0.5286 GB, free: 8.633 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.009855, allocations: 4 kB / 0.5286 GB, free: 8.629 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.554e-05/0.00989, allocations: 127.2 kB / 0.5287 GB, free: 8.504 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00989, allocations: 0 / 0.5287 GB, free: 8.504 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001503/0.01004, allocations: 15.94 kB / 0.5287 GB, free: 8.488 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 8.55e-05/0.01013, allocations: 100.9 kB / 0.5288 GB, free: 8.383 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.332e-05/0.01021, allocations: 43.61 kB / 0.5289 GB, free: 8.336 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01021, allocations: 2.25 kB / 0.5289 GB, free: 8.336 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.791e-05/0.01023, allocations: 23.67 kB / 0.5289 GB, free: 8.309 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.01039, allocations: 7.938 kB / 0.5289 GB, free: 8.301 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005621/0.01095, allocations: 277.6 kB / 0.5292 GB, free: 8.055 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.441e-05/0.01099, allocations: 64.09 kB / 0.5292 GB, free: 7.973 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.21e-05/0.01102, allocations: 10.77 kB / 0.5292 GB, free: 7.965 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.01104, allocations: 13.12 kB / 0.5293 GB, free: 7.953 MB / 458.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01104, allocations: 0 / 0.5293 GB, free: 7.953 MB / 458.7 MB Notification: Performance of Templates: time 0.00204/0.01308, allocations: 0.63 MB / 0.5299 GB, free: 7.363 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.798762286780402]