Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.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.001476/0.001476, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001852/0.001852, allocations: 219.9 kB / 23.01 MB, free: 4.605 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8564/0.8564, allocations: 134 MB / 447.2 MB, free: 10.18 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 67.03 kB / 0.6198 GB, free: 6.617 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1812, allocations: 85.91 MB / 0.7037 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01956/0.2007, allocations: 13.2 MB / 0.7166 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003452/0.2042, allocations: 2.679 MB / 0.7192 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.2043, allocations: 4 kB / 0.7192 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.2047, allocations: 51.67 kB / 0.7193 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003628/0.205, allocations: 99.36 kB / 0.7194 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.2065, allocations: 0.5258 MB / 0.7199 GB, free: 152 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003849/0.2069, allocations: 231.9 kB / 0.7201 GB, free: 15.92 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.036e-05/0.2069, allocations: 13.73 kB / 0.7201 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009344/0.2163, allocations: 3.601 MB / 0.7237 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.2165, allocations: 91.59 kB / 0.7237 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.327e-05/0.2165, allocations: 8 kB / 0.7238 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003227/0.2198, allocations: 1.111 MB / 0.7248 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.267e-05/0.2198, allocations: 43.83 kB / 0.7249 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.22, allocations: 83.66 kB / 0.725 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.2211, allocations: 378.7 kB / 0.7253 GB, free: 10.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2211, allocations: 0 / 0.7253 GB, free: 10.59 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2211, allocations: 0 / 0.7253 GB, free: 10.59 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.2211, allocations: 0 / 0.7253 GB, free: 10.59 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009425/0.222, allocations: 445.4 kB / 0.7257 GB, free: 10.12 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.2221, allocations: 12.03 kB / 0.7258 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002157/0.2223, allocations: 20.84 kB / 0.7258 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.2226, allocations: 174.3 kB / 0.7259 GB, free: 9.898 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.2226, allocations: 8.703 kB / 0.726 GB, free: 9.891 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.864e-05/0.2227, allocations: 20.38 kB / 0.726 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/0.2231, allocations: 248.2 kB / 0.7262 GB, free: 9.609 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.2231, allocations: 0 / 0.7262 GB, free: 9.609 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.2232, allocations: 12 kB / 0.7262 GB, free: 9.598 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/0.2232, allocations: 11.94 kB / 0.7262 GB, free: 9.586 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005748/0.2238, allocations: 440.1 kB / 0.7266 GB, free: 9.156 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.2251, allocations: 0.944 MB / 0.7276 GB, free: 8.129 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/0.2255, allocations: 143 kB / 0.7277 GB, free: 7.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.2256, allocations: 64.81 kB / 0.7278 GB, free: 7.914 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008464/0.2264, allocations: 467.8 kB / 0.7282 GB, free: 7.438 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.2265, allocations: 42.5 kB / 0.7283 GB, free: 7.387 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.754e-06/0.2265, allocations: 0 / 0.7283 GB, free: 7.387 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0003947/0.2268, allocations: 147.3 kB / 0.7284 GB, free: 7.238 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.2269, allocations: 55.34 kB / 0.7284 GB, free: 7.172 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.2271, allocations: 171.2 kB / 0.7286 GB, free: 6.992 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.2271, allocations: 29.7 kB / 0.7286 GB, free: 6.957 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.2273, allocations: 144 kB / 0.7288 GB, free: 6.809 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.168e-05/0.2273, allocations: 55.58 kB / 0.7288 GB, free: 6.754 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.144e-05/0.2274, allocations: 53.7 kB / 0.7289 GB, free: 6.695 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.2276, allocations: 322.8 kB / 0.7292 GB, free: 6.371 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.206e-05/0.2277, allocations: 39.97 kB / 0.7292 GB, free: 6.332 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.2278, allocations: 141.6 kB / 0.7294 GB, free: 6.145 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.2281, allocations: 195.9 kB / 0.7296 GB, free: 5.906 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/0.2281, allocations: 4 kB / 0.7296 GB, free: 5.902 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003894/0.2285, allocations: 213.5 kB / 0.7298 GB, free: 5.688 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.2285, allocations: 8 kB / 0.7298 GB, free: 5.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.2285, allocations: 4 kB / 0.7298 GB, free: 5.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.2286, allocations: 4 kB / 0.7298 GB, free: 5.672 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.2287, allocations: 55.86 kB / 0.7298 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.952e-05/0.2288, allocations: 15.97 kB / 0.7298 GB, free: 5.602 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.2289, allocations: 27.78 kB / 0.7299 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.2289, allocations: 12 kB / 0.7299 GB, free: 5.562 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001395/0.229, allocations: 137.8 kB / 0.73 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.2291, allocations: 19.91 kB / 0.73 GB, free: 5.398 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000329/0.2294, allocations: 155.8 kB / 0.7302 GB, free: 5.25 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.2294, allocations: 15.86 kB / 0.7302 GB, free: 5.234 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.2294, allocations: 3.938 kB / 0.7302 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.2294, allocations: 3.984 kB / 0.7302 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.2297, allocations: 180.7 kB / 0.7304 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.2297, allocations: 0 / 0.7304 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.2298, allocations: 27.98 kB / 0.7304 GB, free: 4.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2298, allocations: 0 / 0.7304 GB, free: 4.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.2298, allocations: 4 kB / 0.7304 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.2298, allocations: 11.92 kB / 0.7304 GB, free: 4.965 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2298, allocations: 3.938 kB / 0.7304 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.2301, allocations: 222.3 kB / 0.7306 GB, free: 4.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.692e-05/0.2302, allocations: 39.8 kB / 0.7307 GB, free: 4.691 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.2302, allocations: 4 kB / 0.7307 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.2304, allocations: 19.92 kB / 0.7307 GB, free: 4.668 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.2305, allocations: 11.98 kB / 0.7307 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.2305, allocations: 16 kB / 0.7307 GB, free: 4.641 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000114/0.2306, allocations: 120.9 kB / 0.7308 GB, free: 4.523 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2306, allocations: 0 / 0.7308 GB, free: 4.523 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004393/0.2311, allocations: 79.86 kB / 0.7309 GB, free: 4.445 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003684/0.2314, allocations: 187 kB / 0.7311 GB, free: 4.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002659/0.2317, allocations: 107.8 kB / 0.7312 GB, free: 4.145 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2317, allocations: 3.938 kB / 0.7312 GB, free: 4.141 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.823e-05/0.2318, allocations: 36.92 kB / 0.7312 GB, free: 4.105 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004742/0.2322, allocations: 51.95 kB / 0.7313 GB, free: 4.055 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008771/0.2331, allocations: 385.6 kB / 0.7316 GB, free: 3.648 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.2335, allocations: 0.7128 MB / 0.7323 GB, free: 2.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.472e-05/0.2336, allocations: 27.44 kB / 0.7324 GB, free: 2.887 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.2336, allocations: 3.938 kB / 0.7324 GB, free: 2.883 MB / 0.545 GB Notification: Performance of Templates: time 0.006956/0.2405, allocations: 3.479 MB / 0.7358 GB, free: 15.44 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.629792386898771] Failed to read output from testmodel.py, exit status != 0: 0.24907536711543798 0.26575683499999997 0.041312738 Calling exit ...