Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001645/0.001645, allocations: 80.73 kB / 19.43 MB, free: 360 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.002323/0.002323, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.508/1.508, allocations: 177.2 MB / 203.1 MB, free: 5.289 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.192/1.192, allocations: 154.6 MB / 414.1 MB, free: 0.5625 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.5196 GB, free: 2.59 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.025e-05/4.215e-05, allocations: 4.5 kB / 0.5196 GB, free: 2.586 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.003561/0.003603, allocations: 1.269 MB / 0.5208 GB, free: 1.324 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005769/0.009371, allocations: 3.08 MB / 0.5238 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.96e-05/0.009411, allocations: 0 / 0.5238 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.604e-05/0.009437, allocations: 0 / 0.5238 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.99e-05/0.009507, allocations: 11.91 kB / 0.5238 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007049/0.01021, allocations: 107.4 kB / 0.5239 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.01032, allocations: 36.34 kB / 0.524 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.143e-05/0.01037, allocations: 5.156 kB / 0.524 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.01048, allocations: 27.95 kB / 0.524 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.01058, allocations: 7.984 kB / 0.524 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.0106, allocations: 4.969 kB / 0.524 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003028/0.0109, allocations: 71.69 kB / 0.5241 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.462e-05/0.01093, allocations: 4.969 kB / 0.5241 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.23e-05/0.01099, allocations: 23.91 kB / 0.5241 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.01127, allocations: 67.8 kB / 0.5242 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.01128, allocations: 0.9375 kB / 0.5242 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.264e-06/0.01128, allocations: 0 / 0.5242 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.01128, allocations: 0.7188 kB / 0.5242 GB, free: 13.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006589/0.01194, allocations: 267.2 kB / 0.5244 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.988e-05/0.01201, allocations: 12.03 kB / 0.5244 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000203/0.01222, allocations: 16.83 kB / 0.5245 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.01236, allocations: 111 kB / 0.5246 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.01238, allocations: 384 / 0.5246 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.371e-05/0.01244, allocations: 8.375 kB / 0.5246 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.01272, allocations: 128 kB / 0.5247 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.01274, allocations: 5.953 kB / 0.5247 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.01276, allocations: 12.12 kB / 0.5247 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.01277, allocations: 3.938 kB / 0.5247 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.5e-05/0.01284, allocations: 15.92 kB / 0.5247 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002386/0.01308, allocations: 113.3 kB / 0.5248 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.01324, allocations: 47.92 kB / 0.5249 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.686e-05/0.01329, allocations: 16.86 kB / 0.5249 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008097/0.0141, allocations: 257.9 kB / 0.5251 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.01414, allocations: 31.19 kB / 0.5252 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.01414, allocations: 3.125 kB / 0.5252 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0007788/0.01492, allocations: 229.4 kB / 0.5254 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.01497, allocations: 51.41 kB / 0.5254 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.01509, allocations: 101.8 kB / 0.5255 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.01512, allocations: 29.7 kB / 0.5256 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.825e-05/0.01521, allocations: 96.02 kB / 0.5257 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.01524, allocations: 19.86 kB / 0.5257 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-05/0.01531, allocations: 31.47 kB / 0.5257 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001935/0.0155, allocations: 314.8 kB / 0.526 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.371e-05/0.01555, allocations: 15.98 kB / 0.526 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.102e-05/0.01564, allocations: 49.09 kB / 0.5261 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.01578, allocations: 78.77 kB / 0.5262 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.01578, allocations: 0 / 0.5262 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002099/0.01599, allocations: 100.6 kB / 0.5262 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.01601, allocations: 8 kB / 0.5263 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.01602, allocations: 0 / 0.5263 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.01604, allocations: 3.938 kB / 0.5263 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.01616, allocations: 27.92 kB / 0.5263 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.01617, allocations: 0 / 0.5263 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.599e-05/0.01623, allocations: 13.89 kB / 0.5263 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.01624, allocations: 4 kB / 0.5263 GB, free: 11.45 MB / 0.4948 GB 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 0.0001179/0.01636, allocations: 117.7 kB / 0.5264 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.0164, allocations: 4 kB / 0.5264 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.573e-05/0.01644, allocations: 14.53 kB / 0.5264 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01644, allocations: 0 / 0.5264 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.01645, allocations: 0 / 0.5264 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.01646, allocations: 3.984 kB / 0.5264 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.01676, allocations: 125.3 kB / 0.5266 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01676, allocations: 0 / 0.5266 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.01688, allocations: 19.94 kB / 0.5266 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.01689, allocations: 4.875 kB / 0.5266 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.01689, allocations: 0 / 0.5266 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.0169, allocations: 0.6562 kB / 0.5266 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.0169, allocations: 3.984 kB / 0.5266 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000444/0.01734, allocations: 174.6 kB / 0.5268 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.751e-05/0.01738, allocations: 11.98 kB / 0.5268 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.0174, allocations: 0 / 0.5268 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.01754, allocations: 8.25 kB / 0.5268 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/0.01757, allocations: 7.922 kB / 0.5268 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.01758, allocations: 8 kB / 0.5268 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.27e-05/0.01764, allocations: 75.28 kB / 0.5269 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01764, allocations: 0 / 0.5269 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003568/0.01799, allocations: 17.5 kB / 0.5269 GB, free: 10.81 MB / 0.4948 GB 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 0.0001926/0.01818, allocations: 95.25 kB / 0.527 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001518/0.01834, allocations: 41.05 kB / 0.527 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.01834, allocations: 5.047 kB / 0.527 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.9e-05/0.01838, allocations: 19.92 kB / 0.527 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.01882, allocations: 15.2 kB / 0.527 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007253/0.01954, allocations: 248.7 kB / 0.5273 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.565e-05/0.01963, allocations: 67.34 kB / 0.5273 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.317e-05/0.01969, allocations: 15.48 kB / 0.5274 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.01973, allocations: 12.5 kB / 0.5274 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of SimCode: time 6.41e-07/0.01974, allocations: 0 / 0.5274 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of Templates: time 0.004184/0.02392, allocations: 0.6313 MB / 0.528 GB, free: 9.719 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.062431294005364]