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.0009176/0.0009176, allocations: 81.64 kB / 19.87 MB, free: 4.613 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.0009263/0.0009263, allocations: 173 kB / 23.28 MB, free: 1.215 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 0.9393/0.9393, allocations: 177.1 MB / 203.7 MB, free: 5.48 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.005079/0.005079, allocations: 236.1 kB / 260.5 MB, free: 12.63 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.8131/0.8131, allocations: 138.4 MB / 455.5 MB, free: 1.426 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 1.393e-06/1.393e-06, allocations: 0 / 0.5556 GB, free: 236 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.945e-05, allocations: 6.109 kB / 0.5556 GB, free: 232 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.00505/0.005069, allocations: 4.843 MB / 0.5604 GB, free: 11.35 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002682/0.007752, allocations: 2.815 MB / 0.5631 GB, free: 8.527 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.009e-05/0.007832, allocations: 0 / 0.5631 GB, free: 8.527 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.008065, allocations: 51.69 kB / 0.5632 GB, free: 8.477 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002109/0.008276, allocations: 111.2 kB / 0.5633 GB, free: 8.367 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009932/0.009269, allocations: 0.5716 MB / 0.5638 GB, free: 7.793 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.009499, allocations: 247.8 kB / 0.5641 GB, free: 7.547 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.261e-05/0.009532, allocations: 9.812 kB / 0.5641 GB, free: 7.539 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.009718, allocations: 163.6 kB / 0.5642 GB, free: 7.379 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.009824, allocations: 71.78 kB / 0.5643 GB, free: 7.309 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.009846, allocations: 12 kB / 0.5643 GB, free: 7.297 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004313/0.01028, allocations: 335.1 kB / 0.5646 GB, free: 6.969 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.235e-05/0.01034, allocations: 39.88 kB / 0.5647 GB, free: 6.93 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.403e-05/0.01039, allocations: 59.84 kB / 0.5647 GB, free: 6.871 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004561/0.01085, allocations: 358.9 kB / 0.5651 GB, free: 6.52 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.01085, allocations: 0 / 0.5651 GB, free: 6.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.01085, allocations: 0 / 0.5651 GB, free: 6.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.377e-06/0.01086, allocations: 0 / 0.5651 GB, free: 6.52 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.0005481/0.0114, allocations: 0.5387 MB / 0.5656 GB, free: 5.941 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.01145, allocations: 8.75 kB / 0.5656 GB, free: 5.934 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.01159, allocations: 48.67 kB / 0.5656 GB, free: 5.887 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.01175, allocations: 160.4 kB / 0.5658 GB, free: 5.703 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.01177, allocations: 12.7 kB / 0.5658 GB, free: 5.691 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.01179, allocations: 16.38 kB / 0.5658 GB, free: 5.676 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.01206, allocations: 418.1 kB / 0.5662 GB, free: 5.188 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.01207, allocations: 192 / 0.5662 GB, free: 5.188 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.01209, allocations: 12.12 kB / 0.5662 GB, free: 5.176 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/0.01212, allocations: 7.984 kB / 0.5662 GB, free: 5.168 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.01232, allocations: 251.5 kB / 0.5665 GB, free: 4.922 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.01336, allocations: 0.9758 MB / 0.5674 GB, free: 3.898 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.01353, allocations: 124.9 kB / 0.5676 GB, free: 3.766 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.345e-05/0.01357, allocations: 43.7 kB / 0.5676 GB, free: 3.719 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004667/0.01404, allocations: 0.5386 MB / 0.5681 GB, free: 3.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.01406, allocations: 41.39 kB / 0.5682 GB, free: 3.109 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 1.092e-06/0.01406, allocations: 4 kB / 0.5682 GB, free: 3.105 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001918/0.01425, allocations: 117.5 kB / 0.5683 GB, free: 2.984 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.01428, allocations: 55.34 kB / 0.5683 GB, free: 2.918 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.01438, allocations: 219.4 kB / 0.5685 GB, free: 2.688 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.0144, allocations: 33.7 kB / 0.5686 GB, free: 2.648 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.495e-05/0.01448, allocations: 194.8 kB / 0.5688 GB, free: 2.453 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.0145, allocations: 55.52 kB / 0.5688 GB, free: 2.398 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.01455, allocations: 59.3 kB / 0.5689 GB, free: 2.332 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.01467, allocations: 0.5 MB / 0.5694 GB, free: 1.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.665e-05/0.0147, allocations: 19.98 kB / 0.5694 GB, free: 1.801 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.049e-05/0.01479, allocations: 170.9 kB / 0.5695 GB, free: 1.566 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.01493, allocations: 230.1 kB / 0.5698 GB, free: 1.277 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01494, allocations: 4 kB / 0.5698 GB, free: 1.273 MB / 490.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001746/0.01511, allocations: 189.6 kB / 0.5699 GB, free: 1.082 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.01512, allocations: 4 kB / 0.5699 GB, free: 1.078 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.01513, allocations: 7.984 kB / 0.57 GB, free: 1.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.01514, allocations: 11.98 kB / 0.57 GB, free: 1.059 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.01525, allocations: 51.92 kB / 0.57 GB, free: 1.008 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.01525, allocations: 7.984 kB / 0.57 GB, free: 1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.95e-05/0.01531, allocations: 27.78 kB / 0.57 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.01532, allocations: 12 kB / 0.5701 GB, free: 0.9609 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 8.145e-05/0.01541, allocations: 180.4 kB / 0.5702 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.01544, allocations: 23.97 kB / 0.5703 GB, free: 0.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.0156, allocations: 126.3 kB / 0.5704 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.01561, allocations: 0 / 0.5704 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.01561, allocations: 4 kB / 0.5704 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.01561, allocations: 0 / 0.5704 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.01574, allocations: 149 kB / 0.5705 GB, free: 452 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.01574, allocations: 0 / 0.5705 GB, free: 452 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.679e-05/0.0158, allocations: 31.92 kB / 0.5705 GB, free: 420 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.0158, allocations: 0 / 0.5705 GB, free: 420 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.01581, allocations: 4 kB / 0.5706 GB, free: 416 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.01581, allocations: 4 kB / 0.5706 GB, free: 412 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.01581, allocations: 4 kB / 0.5706 GB, free: 408 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.01595, allocations: 255.7 kB / 0.5708 GB, free: 132 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.026e-05/0.01599, allocations: 31.91 kB / 0.5708 GB, free: 100 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.01601, allocations: 4 kB / 0.5708 GB, free: 96 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.809e-05/0.01609, allocations: 8 kB / 0.5708 GB, free: 88 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.702e-05/0.0161, allocations: 15.92 kB / 0.5709 GB, free: 72 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.01612, allocations: 7.984 kB / 0.5709 GB, free: 64 kB / 490.7 MB Notification: Performance of sorting global known variables: time 5.933e-05/0.01618, allocations: 153 kB / 0.571 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01618, allocations: 0 / 0.571 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000267/0.01644, allocations: 83.77 kB / 0.5711 GB, free: 15.83 MB / 0.4948 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.0002147/0.01666, allocations: 187 kB / 0.5713 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001378/0.01679, allocations: 107 kB / 0.5714 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.0168, allocations: 0 / 0.5714 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.371e-05/0.01683, allocations: 47.59 kB / 0.5714 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.01706, allocations: 52.83 kB / 0.5715 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005917/0.01765, allocations: 307 kB / 0.5718 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.769e-05/0.01769, allocations: 71.98 kB / 0.5718 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.194e-05/0.01778, allocations: 45.39 kB / 0.5719 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.01794, allocations: 154.1 kB / 0.572 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/0.01794, allocations: 0 / 0.572 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of Templates: time 0.004996/0.02293, allocations: 3.466 MB / 0.5754 GB, free: 11.4 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.7372227529995143]