Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirProperties.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.001015/0.001015, 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.0009645/0.0009645, allocations: 173.3 kB / 23.49 MB, free: 1.059 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.034/1.034, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.001744/0.001744, allocations: 235 kB / 260.5 MB, free: 12.88 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.7246/0.7246, allocations: 138.4 MB / 455.4 MB, free: 1.5 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.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirProperties") translateModel(BuildingSystems.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.555 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/2.015e-05, allocations: 9.484 kB / 0.5551 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.3521/0.3521, allocations: 144.7 MB / 0.6964 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002469/0.3546, allocations: 3.757 MB / 0.7 GB, free: 8.547 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.298e-05/0.3547, allocations: 8 kB / 0.7 GB, free: 8.539 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.3549, allocations: 59.66 kB / 0.7001 GB, free: 8.48 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.3551, allocations: 131.1 kB / 0.7002 GB, free: 8.352 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.3568, allocations: 1.089 MB / 0.7013 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0003015/0.3571, allocations: 323.6 kB / 0.7016 GB, free: 6.941 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.968e-05/0.3572, allocations: 20.45 kB / 0.7016 GB, free: 6.926 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003716/0.3576, allocations: 255.1 kB / 0.7019 GB, free: 6.676 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.3577, allocations: 123.6 kB / 0.702 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.3577, allocations: 8 kB / 0.702 GB, free: 6.547 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.3588, allocations: 1.067 MB / 0.703 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 7.684e-05/0.3589, allocations: 75.78 kB / 0.7031 GB, free: 5.402 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 6.842e-05/0.359, allocations: 79.83 kB / 0.7032 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0007095/0.3597, allocations: 0.6464 MB / 0.7038 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3597, allocations: 0 / 0.7038 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3597, allocations: 4 kB / 0.7038 GB, free: 4.672 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.301e-06/0.3597, allocations: 4 kB / 0.7038 GB, free: 4.668 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006941/0.3604, allocations: 0.6188 MB / 0.7044 GB, free: 4.016 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.3604, allocations: 12.73 kB / 0.7044 GB, free: 4.004 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007568/0.3612, allocations: 236.1 kB / 0.7047 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.3614, allocations: 160.3 kB / 0.7048 GB, free: 3.59 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.3614, allocations: 16.75 kB / 0.7048 GB, free: 3.574 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.3614, allocations: 21.38 kB / 0.7049 GB, free: 3.555 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003037/0.3617, allocations: 0.4979 MB / 0.7053 GB, free: 2.973 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3617, allocations: 0 / 0.7053 GB, free: 2.973 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.3617, allocations: 11.98 kB / 0.7053 GB, free: 2.961 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.3618, allocations: 23.98 kB / 0.7054 GB, free: 2.938 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002387/0.362, allocations: 188.7 kB / 0.7056 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000763/0.3628, allocations: 1.086 MB / 0.7066 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.363, allocations: 124.1 kB / 0.7067 GB, free: 1.48 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.922e-05/0.3631, allocations: 51.66 kB / 0.7068 GB, free: 1.426 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001865/0.3633, allocations: 79.31 kB / 0.7069 GB, free: 1.352 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.3633, allocations: 52.69 kB / 0.7069 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=21): time 1.242e-06/0.3633, allocations: 0 / 0.7069 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21): time 0.0003614/0.3636, allocations: 192 kB / 0.7071 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.713e-05/0.3637, allocations: 51.41 kB / 0.7071 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.591e-05/0.3637, allocations: 217 kB / 0.7073 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.3637, allocations: 29.7 kB / 0.7074 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.3638, allocations: 206.9 kB / 0.7076 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.3638, allocations: 71.33 kB / 0.7076 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.027e-05/0.3639, allocations: 63.3 kB / 0.7077 GB, free: 444 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.187e-05/0.3639, allocations: 0.5001 MB / 0.7082 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.648e-05/0.364, allocations: 32.27 kB / 0.7082 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.3641, allocations: 169.1 kB / 0.7084 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.3643, allocations: 211.7 kB / 0.7086 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3643, allocations: 0 / 0.7086 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002971/0.3646, allocations: 225.2 kB / 0.7088 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.3646, allocations: 4.375 kB / 0.7088 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.3646, allocations: 11.98 kB / 0.7088 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.3646, allocations: 4 kB / 0.7088 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.3647, allocations: 47.92 kB / 0.7089 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.3647, allocations: 11.94 kB / 0.7089 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.27e-05/0.3648, allocations: 27.72 kB / 0.7089 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.3649, allocations: 16.11 kB / 0.7089 GB, free: 15.06 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.039e-05/0.365, allocations: 180.4 kB / 0.7091 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.472e-05/0.365, allocations: 31.84 kB / 0.7091 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002711/0.3653, allocations: 196.6 kB / 0.7093 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3653, allocations: 4 kB / 0.7093 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3653, allocations: 0 / 0.7093 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.3653, allocations: 7.938 kB / 0.7093 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003974/0.3657, allocations: 484.8 kB / 0.7098 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3657, allocations: 0 / 0.7098 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.651e-05/0.3658, allocations: 20 kB / 0.7098 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.3658, allocations: 4 kB / 0.7098 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.3658, allocations: 7.984 kB / 0.7098 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.3658, allocations: 7.938 kB / 0.7098 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3658, allocations: 0 / 0.7098 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.3661, allocations: 345 kB / 0.7101 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.859e-05/0.3662, allocations: 46.48 kB / 0.7102 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.3662, allocations: 4 kB / 0.7102 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.3663, allocations: 18 kB / 0.7102 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-05/0.3663, allocations: 15.09 kB / 0.7102 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.3664, allocations: 12 kB / 0.7102 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.666e-05/0.3664, allocations: 151.2 kB / 0.7104 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.3664, allocations: 3.938 kB / 0.7104 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003088/0.3667, allocations: 135.7 kB / 0.7105 GB, free: 13.34 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004413/0.3672, allocations: 230.7 kB / 0.7107 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002145/0.3674, allocations: 147.6 kB / 0.7109 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3674, allocations: 0 / 0.7109 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.808e-05/0.3675, allocations: 71.59 kB / 0.7109 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.3678, allocations: 88.08 kB / 0.711 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007922/0.3686, allocations: 419.5 kB / 0.7114 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.278e-05/0.3687, allocations: 86.89 kB / 0.7115 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001414/0.3688, allocations: 44.83 kB / 0.7116 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.007e-05/0.3689, allocations: 20.5 kB / 0.7116 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of SimCode: time 4.61e-07/0.3689, allocations: 0 / 0.7116 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.006465/0.3753, allocations: 5.171 MB / 0.7166 GB, free: 7.184 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirProperties.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirProperties -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.153077452909201]