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.0008719/0.0008719, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009058/0.0009058, allocations: 177.3 kB / 23.36 MB, free: 1.133 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.026/1.026, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.001718/0.001718, allocations: 248.4 kB / 260.5 MB, free: 12.71 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.7014/0.7014, allocations: 138.4 MB / 402.2 MB, free: 0.5586 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.904e-06/1.904e-06, allocations: 0 / 462.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.708e-05, allocations: 3.766 kB / 462.3 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.007009/0.007036, allocations: 4.874 MB / 467.2 MB, free: 13.59 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003223/0.01026, allocations: 2.851 MB / 470.1 MB, free: 10.94 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.01039, allocations: 0.875 kB / 470.1 MB, free: 10.94 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003287/0.01072, allocations: 47.64 kB / 470.1 MB, free: 10.89 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003494/0.01107, allocations: 108.6 kB / 470.2 MB, free: 10.79 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.01259, allocations: 0.5728 MB / 470.8 MB, free: 10.22 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003023/0.01289, allocations: 250.5 kB / 471 MB, free: 9.977 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.439e-05/0.01294, allocations: 14.45 kB / 471 MB, free: 9.965 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002703/0.01322, allocations: 163.5 kB / 471.2 MB, free: 9.805 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.01336, allocations: 75.77 kB / 471.3 MB, free: 9.73 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.01339, allocations: 8 kB / 471.3 MB, free: 9.723 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006906/0.01408, allocations: 327.7 kB / 471.6 MB, free: 9.402 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.2e-05/0.01415, allocations: 38.11 kB / 471.6 MB, free: 9.367 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 7.495e-05/0.01422, allocations: 59.89 kB / 471.7 MB, free: 9.309 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005672/0.01479, allocations: 370.8 kB / 472.1 MB, free: 8.945 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.0148, allocations: 0 / 472.1 MB, free: 8.945 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.0148, allocations: 0 / 472.1 MB, free: 8.945 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.0148, allocations: 0 / 472.1 MB, free: 8.945 MB / 426.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.0007182/0.01552, allocations: 423 kB / 472.5 MB, free: 8.512 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.01556, allocations: 8.75 kB / 472.5 MB, free: 8.504 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.01573, allocations: 42.25 kB / 472.5 MB, free: 8.465 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.01594, allocations: 149.6 kB / 472.7 MB, free: 8.293 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.01596, allocations: 12.7 kB / 472.7 MB, free: 8.281 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.016, allocations: 20.36 kB / 472.7 MB, free: 8.262 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003579/0.01635, allocations: 416.1 kB / 473.1 MB, free: 7.781 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.01637, allocations: 2.109 kB / 473.1 MB, free: 7.781 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.01639, allocations: 13.55 kB / 473.1 MB, free: 7.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.64e-05/0.01643, allocations: 8 kB / 473.1 MB, free: 7.762 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.01675, allocations: 243 kB / 473.4 MB, free: 7.527 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008962/0.01764, allocations: 0.6928 MB / 474.1 MB, free: 6.805 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.01788, allocations: 159.3 kB / 474.2 MB, free: 6.641 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.846e-05/0.01794, allocations: 33.75 kB / 474.3 MB, free: 6.605 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006362/0.01858, allocations: 470.7 kB / 474.7 MB, free: 6.141 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.01861, allocations: 38.56 kB / 474.7 MB, free: 6.094 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 2.013e-06/0.01861, allocations: 0 / 474.7 MB, free: 6.094 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002192/0.01883, allocations: 147.1 kB / 474.9 MB, free: 5.945 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.01886, allocations: 51.41 kB / 474.9 MB, free: 5.883 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.01897, allocations: 159.1 kB / 475.1 MB, free: 5.719 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.019, allocations: 33.7 kB / 475.1 MB, free: 5.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.342e-05/0.01907, allocations: 148 kB / 475.3 MB, free: 5.531 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.776e-05/0.01911, allocations: 55.52 kB / 475.3 MB, free: 5.477 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.581e-05/0.01917, allocations: 49.64 kB / 475.4 MB, free: 5.422 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.01928, allocations: 329.4 kB / 475.7 MB, free: 5.094 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.189e-05/0.01932, allocations: 23.56 kB / 475.7 MB, free: 5.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.01942, allocations: 131.6 kB / 475.9 MB, free: 4.895 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.01959, allocations: 182 kB / 476 MB, free: 4.672 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.01959, allocations: 2.969 kB / 476 MB, free: 4.672 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002305/0.01982, allocations: 171.2 kB / 476.2 MB, free: 4.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.01984, allocations: 8 kB / 476.2 MB, free: 4.492 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.01985, allocations: 4 kB / 476.2 MB, free: 4.488 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.01987, allocations: 5.969 kB / 476.2 MB, free: 4.484 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.02004, allocations: 55.91 kB / 476.3 MB, free: 4.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.02004, allocations: 4 kB / 476.3 MB, free: 4.426 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.02015, allocations: 32.58 kB / 476.3 MB, free: 4.395 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.02017, allocations: 12 kB / 476.3 MB, free: 4.383 MB / 426.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.902e-05/0.02027, allocations: 133 kB / 476.4 MB, free: 4.242 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.02031, allocations: 16.55 kB / 476.5 MB, free: 4.227 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000211/0.02052, allocations: 112.1 kB / 476.6 MB, free: 4.113 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.02053, allocations: 7.984 kB / 476.6 MB, free: 4.105 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.02053, allocations: 0.7812 kB / 476.6 MB, free: 4.105 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.02054, allocations: 0 / 476.6 MB, free: 4.105 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.02072, allocations: 106.5 kB / 476.7 MB, free: 3.984 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.02072, allocations: 3.938 kB / 476.7 MB, free: 3.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.223e-05/0.02082, allocations: 25.23 kB / 476.7 MB, free: 3.957 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.02082, allocations: 0.5 kB / 476.7 MB, free: 3.957 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.02083, allocations: 8 kB / 476.7 MB, free: 3.949 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.02083, allocations: 4.75 kB / 476.7 MB, free: 3.945 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.02083, allocations: 1 kB / 476.7 MB, free: 3.945 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.02102, allocations: 239 kB / 477 MB, free: 3.699 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-05/0.02107, allocations: 27.88 kB / 477 MB, free: 3.672 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.02109, allocations: 0 / 477 MB, free: 3.672 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.02123, allocations: 13.42 kB / 477 MB, free: 3.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.136e-05/0.02125, allocations: 7.984 kB / 477 MB, free: 3.652 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.02127, allocations: 11.98 kB / 477 MB, free: 3.641 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.652e-05/0.02131, allocations: 31.06 kB / 477.1 MB, free: 3.609 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02131, allocations: 1.156 kB / 477.1 MB, free: 3.609 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004119/0.02172, allocations: 91.75 kB / 477.1 MB, free: 3.516 MB / 426.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.000313/0.02203, allocations: 163.2 kB / 477.3 MB, free: 3.355 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001739/0.02221, allocations: 100.6 kB / 477.4 MB, free: 3.258 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.02221, allocations: 0 / 477.4 MB, free: 3.258 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.215e-05/0.02226, allocations: 32.83 kB / 477.4 MB, free: 3.223 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.02258, allocations: 58.48 kB / 477.5 MB, free: 3.172 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009249/0.0235, allocations: 324.5 kB / 477.8 MB, free: 2.832 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.415e-05/0.02356, allocations: 71.98 kB / 477.9 MB, free: 2.742 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001541/0.02371, allocations: 44.53 kB / 477.9 MB, free: 2.715 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002162/0.02393, allocations: 125.3 kB / 478 MB, free: 2.598 MB / 426.7 MB Notification: Performance of SimCode: time 8.22e-07/0.02393, allocations: 0 / 478 MB, free: 2.598 MB / 426.7 MB Notification: Performance of Templates: time 0.006854/0.03078, allocations: 3.45 MB / 481.5 MB, free: 15.4 MB / 442.7 MB " [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.5557978888973594]