Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.00139/0.00139, allocations: 96.81 kB / 19.44 MB, free: 328 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.001877/0.001877, allocations: 157.3 kB / 22.75 MB, free: 1.664 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.548/1.548, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.281/1.281, allocations: 154.6 MB / 414.1 MB, free: 0.6445 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.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.5196 GB, free: 2.574 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.557e-05/3.749e-05, allocations: 3.016 kB / 0.5196 GB, free: 2.57 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00291/0.002948, allocations: 1.257 MB / 0.5208 GB, free: 1.324 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004923/0.007871, allocations: 2.768 MB / 0.5235 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.68e-05/0.007897, allocations: 0 / 0.5235 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.329e-05/0.007921, allocations: 3.984 kB / 0.5235 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.149e-05/0.007972, allocations: 1.438 kB / 0.5235 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006568/0.008629, allocations: 108 kB / 0.5236 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.192e-05/0.008721, allocations: 32.95 kB / 0.5236 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.747e-05/0.008758, allocations: 7.938 kB / 0.5237 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006601/0.009419, allocations: 195.7 kB / 0.5238 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.763e-05/0.009466, allocations: 13.2 kB / 0.5239 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.009481, allocations: 0 / 0.5239 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.009659, allocations: 55.83 kB / 0.5239 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.009676, allocations: 4.672 kB / 0.5239 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.009722, allocations: 15.94 kB / 0.5239 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.009942, allocations: 65.03 kB / 0.524 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.009946, allocations: 0 / 0.524 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.82e-07/0.009947, allocations: 4 kB / 0.524 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.009952, allocations: 1.438 kB / 0.524 GB, free: 14.07 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.0005144/0.01047, allocations: 266.3 kB / 0.5243 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.01051, allocations: 8.031 kB / 0.5243 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.417e-05/0.01059, allocations: 17.78 kB / 0.5243 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.01072, allocations: 105.8 kB / 0.5244 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.01074, allocations: 7.062 kB / 0.5244 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.211e-05/0.01078, allocations: 12.38 kB / 0.5244 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.01099, allocations: 127.3 kB / 0.5245 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.011, allocations: 4.125 kB / 0.5245 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.01102, allocations: 8.125 kB / 0.5245 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.01103, allocations: 0 / 0.5245 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.44e-05/0.01109, allocations: 19.97 kB / 0.5245 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000204/0.01129, allocations: 117.2 kB / 0.5247 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.01141, allocations: 53.25 kB / 0.5247 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.033e-05/0.01145, allocations: 16.84 kB / 0.5247 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006856/0.01214, allocations: 241.9 kB / 0.525 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.01217, allocations: 30.56 kB / 0.525 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.01217, allocations: 0 / 0.525 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0007114/0.01289, allocations: 231 kB / 0.5252 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.01294, allocations: 63.33 kB / 0.5253 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.01304, allocations: 101.8 kB / 0.5254 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.01307, allocations: 26.36 kB / 0.5254 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.601e-05/0.01314, allocations: 88.09 kB / 0.5255 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.01317, allocations: 35.17 kB / 0.5255 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.01322, allocations: 21.72 kB / 0.5255 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.01341, allocations: 314.8 kB / 0.5258 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.44e-05/0.01344, allocations: 15.98 kB / 0.5258 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.418e-05/0.01351, allocations: 53.14 kB / 0.5259 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.01363, allocations: 73.2 kB / 0.526 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.01363, allocations: 2.469 kB / 0.526 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001674/0.0138, allocations: 105.4 kB / 0.5261 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.01382, allocations: 11.94 kB / 0.5261 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.01382, allocations: 0 / 0.5261 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.01385, allocations: 4.844 kB / 0.5261 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.614e-05/0.01393, allocations: 19.98 kB / 0.5261 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.01394, allocations: 0 / 0.5261 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.225e-05/0.01398, allocations: 9.188 kB / 0.5261 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.01399, allocations: 4 kB / 0.5261 GB, free: 11.64 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.0001137/0.0141, allocations: 122.6 kB / 0.5262 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.01414, allocations: 7.984 kB / 0.5262 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.803e-05/0.01418, allocations: 10.56 kB / 0.5262 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.01418, allocations: 0 / 0.5262 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.01418, allocations: 0 / 0.5262 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.01419, allocations: 0 / 0.5262 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.01442, allocations: 121.2 kB / 0.5264 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01442, allocations: 0 / 0.5264 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.01452, allocations: 23.98 kB / 0.5264 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01453, allocations: 1.562 kB / 0.5264 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.01454, allocations: 0 / 0.5264 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.01454, allocations: 0 / 0.5264 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01454, allocations: 0 / 0.5264 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.01477, allocations: 185.1 kB / 0.5266 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.67e-05/0.0148, allocations: 7.953 kB / 0.5266 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.01481, allocations: 0 / 0.5266 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.01492, allocations: 8.25 kB / 0.5266 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-05/0.01494, allocations: 3.984 kB / 0.5266 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.01495, allocations: 8.938 kB / 0.5266 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.332e-05/0.01501, allocations: 79.28 kB / 0.5267 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01501, allocations: 0.6562 kB / 0.5267 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000245/0.01525, allocations: 12 kB / 0.5267 GB, free: 11.01 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.0001698/0.01542, allocations: 101.4 kB / 0.5268 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001374/0.01556, allocations: 44.25 kB / 0.5268 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01556, allocations: 1.094 kB / 0.5268 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.372e-05/0.01558, allocations: 11.94 kB / 0.5268 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.0159, allocations: 16.67 kB / 0.5268 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006001/0.0165, allocations: 260.5 kB / 0.5271 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.594e-05/0.01658, allocations: 71.27 kB / 0.5272 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.208e-05/0.01664, allocations: 13.09 kB / 0.5272 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.843e-05/0.01667, allocations: 13 kB / 0.5272 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of SimCode: time 3.8e-07/0.01667, allocations: 1.031 kB / 0.5272 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of Templates: time 0.003773/0.02045, allocations: 0.6379 MB / 0.5278 GB, free: 9.895 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.155569113907404]