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.001587/0.001587, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001748/0.001748, allocations: 162.4 kB / 22.46 MB, free: 5.375 MB / 14.72 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.507/1.507, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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-531:686: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-531:694: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.223/1.223, allocations: 154.6 MB / 413.8 MB, free: 5.223 MB / 382.1 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.884e-06/1.884e-06, allocations: 0 / 0.6185 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.502e-05/3.69e-05, allocations: 5.094 kB / 0.6185 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002675/0.002712, allocations: 1.277 MB / 0.6198 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00424/0.006952, allocations: 2.764 MB / 0.6225 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.907e-05/0.006991, allocations: 4 kB / 0.6225 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.366e-05/0.007015, allocations: 3.938 kB / 0.6225 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.57e-05/0.00708, allocations: 11.92 kB / 0.6225 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006206/0.007701, allocations: 103.4 kB / 0.6226 GB, free: 424 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.215e-05/0.007793, allocations: 39.84 kB / 0.6226 GB, free: 384 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.007838, allocations: 0 / 0.6226 GB, free: 384 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006541/0.008492, allocations: 203.3 kB / 0.6228 GB, free: 180 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.131e-05/0.008534, allocations: 11.98 kB / 0.6228 GB, free: 168 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.008552, allocations: 4 kB / 0.6228 GB, free: 164 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.008698, allocations: 47.89 kB / 0.6229 GB, free: 116 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.00872, allocations: 11.92 kB / 0.6229 GB, free: 104 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.008762, allocations: 11.98 kB / 0.6229 GB, free: 92 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.008979, allocations: 63.84 kB / 0.623 GB, free: 28 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.008983, allocations: 0 / 0.623 GB, free: 28 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.754e-06/0.008985, allocations: 0 / 0.623 GB, free: 28 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.008991, allocations: 0 / 0.623 GB, free: 28 kB / 0.5294 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.0005115/0.009503, allocations: 266.3 kB / 0.6232 GB, free: 15.74 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.009549, allocations: 19.97 kB / 0.6233 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.221e-05/0.009601, allocations: 0.9375 kB / 0.6233 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.009722, allocations: 117.7 kB / 0.6234 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.009736, allocations: 384 / 0.6234 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.009768, allocations: 8.328 kB / 0.6234 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.009974, allocations: 131.3 kB / 0.6235 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.009983, allocations: 192 / 0.6235 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.01, allocations: 4.125 kB / 0.6235 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.01, allocations: 4 kB / 0.6235 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.893e-05/0.01006, allocations: 15.98 kB / 0.6235 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.01026, allocations: 113.3 kB / 0.6236 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.01037, allocations: 50.5 kB / 0.6237 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.506e-05/0.0104, allocations: 17.09 kB / 0.6237 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006424/0.01105, allocations: 245.8 kB / 0.6239 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.002e-05/0.0111, allocations: 38.56 kB / 0.624 GB, free: 14.87 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.0111, allocations: 0 / 0.624 GB, free: 14.87 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0006658/0.01176, allocations: 213.2 kB / 0.6242 GB, free: 14.62 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.01182, allocations: 59.34 kB / 0.6242 GB, free: 14.55 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.01193, allocations: 109.8 kB / 0.6243 GB, free: 14.44 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.01196, allocations: 25.7 kB / 0.6244 GB, free: 14.41 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.258e-05/0.01202, allocations: 84.09 kB / 0.6244 GB, free: 14.32 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.01205, allocations: 31.81 kB / 0.6245 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.0121, allocations: 29.7 kB / 0.6245 GB, free: 14.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.01229, allocations: 318.8 kB / 0.6248 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.471e-05/0.01232, allocations: 15.98 kB / 0.6248 GB, free: 13.92 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.887e-05/0.0124, allocations: 57.52 kB / 0.6249 GB, free: 13.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.01251, allocations: 73.03 kB / 0.6249 GB, free: 13.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.01251, allocations: 4 kB / 0.6249 GB, free: 13.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000152/0.01266, allocations: 93.78 kB / 0.625 GB, free: 13.65 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.01267, allocations: 4 kB / 0.625 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.01269, allocations: 11.98 kB / 0.625 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.01271, allocations: 0 / 0.625 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.558e-05/0.01279, allocations: 27.92 kB / 0.6251 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.0128, allocations: 4 kB / 0.6251 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.476e-05/0.01284, allocations: 128 / 0.6251 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.01285, allocations: 8 kB / 0.6251 GB, free: 13.6 MB / 0.545 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.0001032/0.01295, allocations: 122.7 kB / 0.6252 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.01298, allocations: 4 kB / 0.6252 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.846e-05/0.01302, allocations: 12.11 kB / 0.6252 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.01302, allocations: 0 / 0.6252 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.01302, allocations: 0 / 0.6252 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.01303, allocations: 4 kB / 0.6252 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.01326, allocations: 117.2 kB / 0.6253 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01326, allocations: 0 / 0.6253 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.833e-05/0.01335, allocations: 19.98 kB / 0.6253 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.01335, allocations: 4 kB / 0.6254 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.01337, allocations: 4 kB / 0.6254 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.01337, allocations: 0 / 0.6254 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01337, allocations: 0 / 0.6254 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.01362, allocations: 179.4 kB / 0.6255 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.593e-05/0.01365, allocations: 8.031 kB / 0.6255 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.01366, allocations: 0 / 0.6255 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.01377, allocations: 4 kB / 0.6255 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.002e-05/0.01379, allocations: 3.984 kB / 0.6255 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.0138, allocations: 8 kB / 0.6256 GB, free: 13.06 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.804e-05/0.01385, allocations: 79.28 kB / 0.6256 GB, free: 12.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.01385, allocations: 0 / 0.6256 GB, free: 12.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002346/0.01408, allocations: 12 kB / 0.6256 GB, free: 12.97 MB / 0.545 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.0001749/0.01426, allocations: 103.2 kB / 0.6257 GB, free: 12.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001517/0.01441, allocations: 43.86 kB / 0.6258 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.01441, allocations: 0 / 0.6258 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.591e-05/0.01444, allocations: 15.94 kB / 0.6258 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.0148, allocations: 20.12 kB / 0.6258 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005922/0.01539, allocations: 251.1 kB / 0.6261 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.522e-05/0.01546, allocations: 72.2 kB / 0.6261 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.332e-05/0.01551, allocations: 8 kB / 0.6261 GB, free: 12.42 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.01554, allocations: 12.5 kB / 0.6261 GB, free: 12.41 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.01554, allocations: 0 / 0.6261 GB, free: 12.41 MB / 0.545 GB Notification: Performance of Templates: time 0.00391/0.01945, allocations: 0.6348 MB / 0.6268 GB, free: 11.79 MB / 0.545 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.07934008166194] Failed to read output from testmodel.py, exit status != 0: 0.029228713363409042 0.055621476 0.041655731 Calling exit ...