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.0009373/0.0009373, allocations: 69.98 kB / 20.65 MB, free: 3.848 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.0009616/0.0009616, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9767/0.9767, allocations: 177.1 MB / 204.5 MB, free: 5.102 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.00192/0.00192, allocations: 238 kB / 261.3 MB, free: 12.51 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.7381/0.7381, allocations: 138.4 MB / 456.3 MB, free: 1.453 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.683e-06/1.683e-06, allocations: 0 / 0.5564 GB, free: 268 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.759e-05, allocations: 2.312 kB / 0.5564 GB, free: 264 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.005936/0.005963, allocations: 4.841 MB / 0.5611 GB, free: 11.39 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002143/0.008106, allocations: 2.827 MB / 0.5639 GB, free: 8.555 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.32e-05/0.008199, allocations: 0 / 0.5639 GB, free: 8.555 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.008489, allocations: 43.75 kB / 0.5639 GB, free: 8.512 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002452/0.008734, allocations: 119.2 kB / 0.564 GB, free: 8.395 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009449/0.009679, allocations: 0.5676 MB / 0.5646 GB, free: 7.824 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.009893, allocations: 251.8 kB / 0.5648 GB, free: 7.574 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.955e-05/0.009932, allocations: 5.812 kB / 0.5648 GB, free: 7.57 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.01013, allocations: 159.6 kB / 0.565 GB, free: 7.414 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.01026, allocations: 79.77 kB / 0.5651 GB, free: 7.336 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.01029, allocations: 8 kB / 0.5651 GB, free: 7.328 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005659/0.01085, allocations: 331.1 kB / 0.5654 GB, free: 7.004 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.969e-05/0.01092, allocations: 39.89 kB / 0.5654 GB, free: 6.965 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.718e-05/0.01098, allocations: 63.83 kB / 0.5655 GB, free: 6.902 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004512/0.01143, allocations: 362.9 kB / 0.5658 GB, free: 6.547 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.01143, allocations: 0 / 0.5658 GB, free: 6.547 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01144, allocations: 0 / 0.5658 GB, free: 6.547 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.01144, allocations: 0 / 0.5658 GB, free: 6.547 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.0005815/0.01202, allocations: 0.5348 MB / 0.5663 GB, free: 5.973 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.01206, allocations: 12.75 kB / 0.5664 GB, free: 5.961 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.0122, allocations: 44.67 kB / 0.5664 GB, free: 5.918 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.01239, allocations: 164.4 kB / 0.5666 GB, free: 5.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.0124, allocations: 8.703 kB / 0.5666 GB, free: 5.723 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.01243, allocations: 20.38 kB / 0.5666 GB, free: 5.703 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002785/0.01271, allocations: 414.1 kB / 0.567 GB, free: 5.219 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.01272, allocations: 192 / 0.567 GB, free: 5.219 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.01273, allocations: 16.12 kB / 0.567 GB, free: 5.203 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.112e-05/0.01276, allocations: 7.984 kB / 0.567 GB, free: 5.195 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.01297, allocations: 251.5 kB / 0.5672 GB, free: 4.949 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.01418, allocations: 0.9718 MB / 0.5682 GB, free: 3.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.01436, allocations: 120.5 kB / 0.5683 GB, free: 3.801 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.34e-05/0.0144, allocations: 43.7 kB / 0.5683 GB, free: 3.754 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004722/0.01488, allocations: 0.5309 MB / 0.5689 GB, free: 3.203 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.0149, allocations: 37.39 kB / 0.5689 GB, free: 3.156 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.0149, allocations: 0 / 0.5689 GB, free: 3.156 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001986/0.0151, allocations: 117.5 kB / 0.569 GB, free: 3.035 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.01513, allocations: 71.33 kB / 0.5691 GB, free: 2.953 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.01523, allocations: 216.6 kB / 0.5693 GB, free: 2.727 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.01525, allocations: 33.7 kB / 0.5693 GB, free: 2.688 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.147e-05/0.01533, allocations: 190.8 kB / 0.5695 GB, free: 2.496 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.01536, allocations: 55.53 kB / 0.5696 GB, free: 2.441 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/0.01541, allocations: 59.28 kB / 0.5696 GB, free: 2.375 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.01554, allocations: 0.4961 MB / 0.5701 GB, free: 1.867 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.992e-05/0.01557, allocations: 23.97 kB / 0.5701 GB, free: 1.844 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.01568, allocations: 174.9 kB / 0.5703 GB, free: 1.605 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.01585, allocations: 218.3 kB / 0.5705 GB, free: 1.328 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.01586, allocations: 0 / 0.5705 GB, free: 1.328 MB / 490.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002281/0.01609, allocations: 193.2 kB / 0.5707 GB, free: 1.133 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.0161, allocations: 8.469 kB / 0.5707 GB, free: 1.125 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.01611, allocations: 8 kB / 0.5707 GB, free: 1.117 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.01613, allocations: 7.984 kB / 0.5707 GB, free: 1.109 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.01626, allocations: 55.91 kB / 0.5708 GB, free: 1.055 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.01626, allocations: 8 kB / 0.5708 GB, free: 1.047 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.504e-05/0.01633, allocations: 27.78 kB / 0.5708 GB, free: 1.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.01634, allocations: 19.98 kB / 0.5708 GB, free: 1 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 9.212e-05/0.01644, allocations: 172.5 kB / 0.571 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.738e-05/0.01647, allocations: 27.83 kB / 0.571 GB, free: 0.793 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001953/0.01667, allocations: 122.4 kB / 0.5711 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.01668, allocations: 0 / 0.5711 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.01668, allocations: 4 kB / 0.5711 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01668, allocations: 4 kB / 0.5711 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.01682, allocations: 141 kB / 0.5713 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01682, allocations: 0 / 0.5713 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.477e-05/0.01689, allocations: 31.98 kB / 0.5713 GB, free: 472 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.01689, allocations: 0 / 0.5713 GB, free: 472 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.0169, allocations: 11.98 kB / 0.5713 GB, free: 460 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.0169, allocations: 3.938 kB / 0.5713 GB, free: 456 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.0169, allocations: 0 / 0.5713 GB, free: 456 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.01707, allocations: 255.8 kB / 0.5715 GB, free: 180 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.01712, allocations: 31.86 kB / 0.5716 GB, free: 148 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.01713, allocations: 0 / 0.5716 GB, free: 148 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.8e-05/0.01722, allocations: 15.98 kB / 0.5716 GB, free: 132 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.01724, allocations: 11.92 kB / 0.5716 GB, free: 120 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.01725, allocations: 11.98 kB / 0.5716 GB, free: 108 kB / 490.7 MB Notification: Performance of sorting global known variables: time 6.871e-05/0.01732, allocations: 150.2 kB / 0.5718 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.01732, allocations: 0 / 0.5718 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002813/0.0176, allocations: 83.81 kB / 0.5718 GB, free: 15.88 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.0002586/0.01786, allocations: 191 kB / 0.572 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001414/0.018, allocations: 103.1 kB / 0.5721 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.01801, allocations: 0 / 0.5721 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.22e-05/0.01804, allocations: 43.66 kB / 0.5722 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.0183, allocations: 44.78 kB / 0.5722 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007315/0.01903, allocations: 318.9 kB / 0.5725 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.69e-05/0.01909, allocations: 68 kB / 0.5726 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001257/0.01921, allocations: 49.33 kB / 0.5726 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.01939, allocations: 154.1 kB / 0.5728 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of SimCode: time 1.032e-06/0.01939, allocations: 0 / 0.5728 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of Templates: time 0.005364/0.02476, allocations: 3.502 MB / 0.5762 GB, free: 11.43 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.779529653955251]