Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.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.000993/0.000993, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001147/0.001147, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.057/1.057, allocations: 177.1 MB / 203.8 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002319/0.002319, allocations: 229.8 kB / 260.5 MB, free: 12.91 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.693/0.693, allocations: 138.4 MB / 455.4 MB, free: 1.539 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") translateModel(BuildingSystems.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 0.555 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.519e-05/3.751e-05, allocations: 10.25 kB / 0.5551 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.00638/0.006417, allocations: 4.863 MB / 0.5598 GB, free: 11.96 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003008/0.009425, allocations: 2.823 MB / 0.5626 GB, free: 9.125 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.534e-05/0.00952, allocations: 7.938 kB / 0.5626 GB, free: 9.117 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.009825, allocations: 43.73 kB / 0.5626 GB, free: 9.074 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002922/0.01012, allocations: 95.25 kB / 0.5627 GB, free: 8.98 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.01117, allocations: 0.5364 MB / 0.5632 GB, free: 8.441 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.01144, allocations: 239.8 kB / 0.5635 GB, free: 8.203 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.01148, allocations: 5.812 kB / 0.5635 GB, free: 8.199 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002555/0.01174, allocations: 155.6 kB / 0.5636 GB, free: 8.047 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.01188, allocations: 79.77 kB / 0.5637 GB, free: 7.969 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.01191, allocations: 8 kB / 0.5637 GB, free: 7.961 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005468/0.01245, allocations: 323.1 kB / 0.564 GB, free: 7.645 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.153e-05/0.01254, allocations: 35.88 kB / 0.564 GB, free: 7.609 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.042e-05/0.01262, allocations: 59.84 kB / 0.5641 GB, free: 7.551 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004799/0.0131, allocations: 366.9 kB / 0.5644 GB, free: 7.191 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.0131, allocations: 4 kB / 0.5644 GB, free: 7.188 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.0131, allocations: 3.938 kB / 0.5644 GB, free: 7.184 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.0131, allocations: 0 / 0.5644 GB, free: 7.184 MB / 490.7 MB 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.000583/0.01369, allocations: 0.5349 MB / 0.565 GB, free: 6.609 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.01372, allocations: 12.75 kB / 0.565 GB, free: 6.598 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.01386, allocations: 44.67 kB / 0.565 GB, free: 6.555 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.01404, allocations: 152.4 kB / 0.5652 GB, free: 6.379 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.01406, allocations: 12.64 kB / 0.5652 GB, free: 6.367 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.01408, allocations: 24.38 kB / 0.5652 GB, free: 6.344 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.01437, allocations: 430.2 kB / 0.5656 GB, free: 5.844 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.01438, allocations: 8.125 kB / 0.5656 GB, free: 5.836 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.0144, allocations: 8.125 kB / 0.5656 GB, free: 5.828 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/0.01443, allocations: 15.92 kB / 0.5656 GB, free: 5.812 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002379/0.01467, allocations: 295.5 kB / 0.5659 GB, free: 5.523 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007341/0.0154, allocations: 0.9831 MB / 0.5669 GB, free: 4.484 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.01561, allocations: 133 kB / 0.567 GB, free: 4.344 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.122e-05/0.01567, allocations: 51.7 kB / 0.5671 GB, free: 4.289 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004572/0.01613, allocations: 0.5348 MB / 0.5676 GB, free: 3.734 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.01616, allocations: 45.33 kB / 0.5676 GB, free: 3.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 9.52e-07/0.01616, allocations: 0 / 0.5676 GB, free: 3.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002266/0.01639, allocations: 121.6 kB / 0.5677 GB, free: 3.555 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.01641, allocations: 51.41 kB / 0.5678 GB, free: 3.492 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.01652, allocations: 227.4 kB / 0.568 GB, free: 3.254 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.01654, allocations: 33.7 kB / 0.568 GB, free: 3.215 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.844e-05/0.01661, allocations: 194.8 kB / 0.5682 GB, free: 3.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.01663, allocations: 51.53 kB / 0.5683 GB, free: 2.969 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/0.01668, allocations: 59.31 kB / 0.5683 GB, free: 2.902 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.0168, allocations: 0.4961 MB / 0.5688 GB, free: 2.395 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.978e-05/0.01684, allocations: 27.97 kB / 0.5688 GB, free: 2.367 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.01694, allocations: 182.4 kB / 0.569 GB, free: 2.125 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.0171, allocations: 218.8 kB / 0.5692 GB, free: 1.844 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.0171, allocations: 4 kB / 0.5692 GB, free: 1.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002053/0.01731, allocations: 209.2 kB / 0.5694 GB, free: 1.629 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.01732, allocations: 8 kB / 0.5694 GB, free: 1.621 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.01732, allocations: 0 / 0.5694 GB, free: 1.621 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.01734, allocations: 8 kB / 0.5694 GB, free: 1.613 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.01745, allocations: 56.38 kB / 0.5695 GB, free: 1.559 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.01746, allocations: 11.94 kB / 0.5695 GB, free: 1.547 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.793e-05/0.01752, allocations: 27.78 kB / 0.5695 GB, free: 1.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.01753, allocations: 16 kB / 0.5696 GB, free: 1.504 MB / 490.7 MB 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 7.954e-05/0.01761, allocations: 180.4 kB / 0.5697 GB, free: 1.316 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.01764, allocations: 19.91 kB / 0.5697 GB, free: 1.297 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001939/0.01784, allocations: 142.2 kB / 0.5699 GB, free: 1.148 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.01785, allocations: 4 kB / 0.5699 GB, free: 1.145 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.01785, allocations: 0 / 0.5699 GB, free: 1.145 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.01785, allocations: 0 / 0.5699 GB, free: 1.145 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.01799, allocations: 168.4 kB / 0.57 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.01799, allocations: 4 kB / 0.5701 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6e-05/0.01805, allocations: 35.92 kB / 0.5701 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.01805, allocations: 0 / 0.5701 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.01806, allocations: 4 kB / 0.5701 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.01806, allocations: 3.984 kB / 0.5701 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.01806, allocations: 3.938 kB / 0.5701 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.01822, allocations: 275.2 kB / 0.5704 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/0.01826, allocations: 27.86 kB / 0.5704 GB, free: 0.582 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.01828, allocations: 0 / 0.5704 GB, free: 0.582 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.193e-05/0.01836, allocations: 15.98 kB / 0.5704 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-05/0.01838, allocations: 11.98 kB / 0.5704 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.01839, allocations: 15.98 kB / 0.5704 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.337e-05/0.01845, allocations: 149 kB / 0.5706 GB, free: 404 kB / 490.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01845, allocations: 0 / 0.5706 GB, free: 404 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002388/0.01869, allocations: 79.81 kB / 0.5706 GB, free: 324 kB / 490.7 MB 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.0002315/0.01892, allocations: 191 kB / 0.5708 GB, free: 120 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001588/0.01908, allocations: 103.5 kB / 0.5709 GB, free: 12 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.01908, allocations: 4 kB / 0.5709 GB, free: 8 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.283e-05/0.01913, allocations: 51.59 kB / 0.571 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.01938, allocations: 48.83 kB / 0.571 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007161/0.0201, allocations: 318.9 kB / 0.5713 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.39e-05/0.02014, allocations: 72 kB / 0.5714 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00011/0.02025, allocations: 45.27 kB / 0.5714 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.02028, allocations: 24.5 kB / 0.5715 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of SimCode: time 8.22e-07/0.02028, allocations: 0 / 0.5715 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of Templates: time 0.004634/0.02492, allocations: 3.176 MB / 0.5746 GB, free: 12.3 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterProperties -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8153155050240457]