Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 109.8 kB / 19.58 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 188.5 kB / 22.85 MB, free: 5.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 225.6 MB / 251.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002658/0.002658, allocations: 290.6 kB / 307 MB, free: 8.352 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.221/1.221, allocations: 180.8 MB / 0.5304 GB, free: 14.52 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002779/0.002779, allocations: 103.1 kB / 0.7311 GB, free: 38.54 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1863, allocations: 94.19 MB / 0.8231 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01896/0.2052, allocations: 13.01 MB / 0.8358 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00392/0.2091, allocations: 2.663 MB / 0.8384 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002025/0.2094, allocations: 0 / 0.8384 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004099/0.2098, allocations: 51.61 kB / 0.8385 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004726/0.2102, allocations: 99.34 kB / 0.8386 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001797/0.212, allocations: 0.5176 MB / 0.8391 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003962/0.2124, allocations: 235.9 kB / 0.8393 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.646e-05/0.2125, allocations: 9.75 kB / 0.8393 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009903/0.2224, allocations: 3.593 MB / 0.8428 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002438/0.2226, allocations: 95.59 kB / 0.8429 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.2227, allocations: 8 kB / 0.8429 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002789/0.2255, allocations: 1.013 MB / 0.8439 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.611e-05/0.2255, allocations: 43.83 kB / 0.8439 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.2257, allocations: 83.64 kB / 0.844 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009892/0.2267, allocations: 350.8 kB / 0.8444 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2267, allocations: 0 / 0.8444 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2267, allocations: 0 / 0.8444 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.2267, allocations: 4 kB / 0.8444 GB, free: 12.1 MB / 0.5919 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.000877/0.2275, allocations: 441.4 kB / 0.8448 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.2276, allocations: 12.03 kB / 0.8448 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.2278, allocations: 24.83 kB / 0.8448 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.2281, allocations: 154.3 kB / 0.845 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.2281, allocations: 16.69 kB / 0.845 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.2281, allocations: 20.38 kB / 0.845 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004284/0.2286, allocations: 261.3 kB / 0.8452 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2286, allocations: 0 / 0.8452 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.2286, allocations: 15.98 kB / 0.8453 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/0.2286, allocations: 4 kB / 0.8453 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00055/0.2292, allocations: 440.1 kB / 0.8457 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.2304, allocations: 0.9402 MB / 0.8466 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.2307, allocations: 153 kB / 0.8468 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.2309, allocations: 60.88 kB / 0.8468 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008298/0.2317, allocations: 467.8 kB / 0.8473 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.2317, allocations: 34.56 kB / 0.8473 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/0.2317, allocations: 4 kB / 0.8473 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.000371/0.2321, allocations: 145.4 kB / 0.8474 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.2322, allocations: 63.34 kB / 0.8475 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.2323, allocations: 165.1 kB / 0.8476 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.2324, allocations: 29.7 kB / 0.8477 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.648e-05/0.2325, allocations: 140.1 kB / 0.8478 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/0.2325, allocations: 63.47 kB / 0.8479 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.371e-05/0.2326, allocations: 49.7 kB / 0.8479 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2327, allocations: 326.8 kB / 0.8482 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.947e-05/0.2328, allocations: 39.91 kB / 0.8483 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.233, allocations: 146.2 kB / 0.8484 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.2332, allocations: 201.5 kB / 0.8486 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.2333, allocations: 4 kB / 0.8486 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000355/0.2336, allocations: 216.4 kB / 0.8488 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.2336, allocations: 4 kB / 0.8488 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.2336, allocations: 4 kB / 0.8488 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.2337, allocations: 4.469 kB / 0.8488 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.2338, allocations: 63.8 kB / 0.8489 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.2338, allocations: 11.98 kB / 0.8489 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.234, allocations: 27.78 kB / 0.8489 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.234, allocations: 16 kB / 0.8489 GB, free: 7.066 MB / 0.5919 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.0001216/0.2341, allocations: 125.8 kB / 0.8491 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.277e-05/0.2342, allocations: 15.91 kB / 0.8491 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/0.2345, allocations: 163 kB / 0.8492 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.2345, allocations: 3.938 kB / 0.8492 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2345, allocations: 0 / 0.8492 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2345, allocations: 7.938 kB / 0.8492 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.2348, allocations: 188.6 kB / 0.8494 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.2348, allocations: 3.984 kB / 0.8494 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.059e-05/0.2349, allocations: 20 kB / 0.8494 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.2349, allocations: 4 kB / 0.8494 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.2349, allocations: 3.984 kB / 0.8494 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.2349, allocations: 3.938 kB / 0.8495 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2349, allocations: 0 / 0.8495 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.2352, allocations: 227.2 kB / 0.8497 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.227e-05/0.2353, allocations: 39.78 kB / 0.8497 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.2353, allocations: 4 kB / 0.8497 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.2355, allocations: 15.92 kB / 0.8497 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.2355, allocations: 11.98 kB / 0.8497 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.2355, allocations: 12 kB / 0.8497 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001181/0.2357, allocations: 122 kB / 0.8499 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2357, allocations: 0 / 0.8499 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004281/0.2361, allocations: 79.88 kB / 0.8499 GB, free: 5.969 MB / 0.5919 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.0003708/0.2365, allocations: 179 kB / 0.8501 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002702/0.2367, allocations: 119.1 kB / 0.8502 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2367, allocations: 0 / 0.8502 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.956e-05/0.2368, allocations: 39.92 kB / 0.8503 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004544/0.2373, allocations: 65.75 kB / 0.8503 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007782/0.238, allocations: 344.1 kB / 0.8507 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.2384, allocations: 0.7168 MB / 0.8514 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001734/0.2386, allocations: 53.23 kB / 0.8514 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.96e-05/0.2387, allocations: 23.38 kB / 0.8514 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of SimCode: time 3.5e-07/0.2387, allocations: 7.938 kB / 0.8514 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of Templates: time 0.008661/0.2473, allocations: 3.779 MB / 0.8551 GB, free: 0.6445 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.1169137110045995] Failed to read output from testmodel.py, exit status != 0: 0.25509291700291215 0.27089882000000004 0.041004193 Calling exit ...