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.0009983/0.0009983, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001023/0.002021, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006841/0.0006841, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009207/0.001605, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9958/0.9958, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09453/1.09, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00127/0.00127, allocations: 237.8 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001212/0.002481, allocations: 479.6 kB / 244.8 MB, free: 14.06 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7164/0.7164, allocations: 138.7 MB / 384.3 MB, free: 376 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06788/0.7843, allocations: 42.41 MB / 426.7 MB, free: 5.82 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.162e-06/1.162e-06, allocations: 0 / 428.1 MB, free: 4.438 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.937e-06/1.01e-05, allocations: 2.312 kB / 428.1 MB, free: 4.434 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.3422/0.3422, allocations: 144.8 MB / 0.5595 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.003547/0.3457, allocations: 3.822 MB / 0.5633 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.477e-05/0.3458, allocations: 3.938 kB / 0.5633 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.346, allocations: 63.66 kB / 0.5633 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.3463, allocations: 139.2 kB / 0.5634 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002018/0.3483, allocations: 1.132 MB / 0.5646 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0003297/0.3486, allocations: 339.6 kB / 0.5649 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 4.343e-05/0.3487, allocations: 15.78 kB / 0.5649 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003879/0.3491, allocations: 267.1 kB / 0.5651 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.3492, allocations: 115.7 kB / 0.5653 GB, free: 9.672 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.3492, allocations: 8 kB / 0.5653 GB, free: 9.664 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.3507, allocations: 1.102 MB / 0.5663 GB, free: 8.559 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003199/0.351, allocations: 59.84 kB / 0.5664 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 7.642e-05/0.3511, allocations: 67.88 kB / 0.5665 GB, free: 8.434 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0007718/0.3518, allocations: 0.5531 MB / 0.567 GB, free: 7.879 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 8.717e-06/0.3519, allocations: 0 / 0.567 GB, free: 7.879 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3519, allocations: 0 / 0.567 GB, free: 7.879 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.3519, allocations: 3.938 kB / 0.567 GB, free: 7.875 MB / 0.5417 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.0008569/0.3527, allocations: 0.6661 MB / 0.5677 GB, free: 7.172 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.3528, allocations: 16.03 kB / 0.5677 GB, free: 7.156 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00099/0.3537, allocations: 232.2 kB / 0.5679 GB, free: 6.93 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.3539, allocations: 153.6 kB / 0.568 GB, free: 6.754 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.3539, allocations: 12.75 kB / 0.5681 GB, free: 6.742 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.354, allocations: 20.56 kB / 0.5681 GB, free: 6.723 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003675/0.3543, allocations: 482.5 kB / 0.5685 GB, free: 6.172 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3543, allocations: 1.875 kB / 0.5685 GB, free: 6.172 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.3544, allocations: 16.73 kB / 0.5686 GB, free: 6.156 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/0.3544, allocations: 15.98 kB / 0.5686 GB, free: 6.141 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/0.3546, allocations: 153.1 kB / 0.5687 GB, free: 5.992 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008693/0.3555, allocations: 0.776 MB / 0.5695 GB, free: 5.184 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.3558, allocations: 162.9 kB / 0.5696 GB, free: 5.012 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.349e-05/0.3558, allocations: 40.83 kB / 0.5697 GB, free: 4.969 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001872/0.356, allocations: 67.94 kB / 0.5697 GB, free: 4.902 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.3561, allocations: 34.56 kB / 0.5698 GB, free: 4.859 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=21): time 1.353e-06/0.3561, allocations: 0 / 0.5698 GB, free: 4.859 MB / 0.5417 GB Notification: Performance of matching and sorting (n=21): time 0.0003632/0.3564, allocations: 141.4 kB / 0.5699 GB, free: 4.715 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.3564, allocations: 59.41 kB / 0.57 GB, free: 4.645 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.444e-05/0.3565, allocations: 159.3 kB / 0.5701 GB, free: 4.477 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.3566, allocations: 29.7 kB / 0.5701 GB, free: 4.441 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.3566, allocations: 160.1 kB / 0.5703 GB, free: 4.281 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.3567, allocations: 71.38 kB / 0.5704 GB, free: 4.211 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.516e-05/0.3567, allocations: 49.69 kB / 0.5704 GB, free: 4.156 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.012e-05/0.3568, allocations: 326.7 kB / 0.5707 GB, free: 3.828 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.797e-05/0.3569, allocations: 29.22 kB / 0.5707 GB, free: 3.797 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.178e-05/0.357, allocations: 124.1 kB / 0.5709 GB, free: 3.637 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.3571, allocations: 187.5 kB / 0.571 GB, free: 3.41 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3571, allocations: 0 / 0.571 GB, free: 3.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000294/0.3574, allocations: 196.4 kB / 0.5712 GB, free: 3.207 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3574, allocations: 8 kB / 0.5712 GB, free: 3.199 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3574, allocations: 3.938 kB / 0.5712 GB, free: 3.195 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3575, allocations: 4.625 kB / 0.5712 GB, free: 3.191 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.3576, allocations: 63.91 kB / 0.5713 GB, free: 3.129 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3576, allocations: 8.312 kB / 0.5713 GB, free: 3.121 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.3578, allocations: 27.84 kB / 0.5713 GB, free: 3.094 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.3578, allocations: 8 kB / 0.5713 GB, free: 3.086 MB / 0.5417 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 8.31e-05/0.3579, allocations: 132.5 kB / 0.5715 GB, free: 2.945 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.358, allocations: 38.22 kB / 0.5715 GB, free: 2.91 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.3582, allocations: 157 kB / 0.5717 GB, free: 2.758 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3583, allocations: 0 / 0.5717 GB, free: 2.758 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.3583, allocations: 0 / 0.5717 GB, free: 2.758 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3583, allocations: 0 / 0.5717 GB, free: 2.758 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003627/0.3586, allocations: 389 kB / 0.572 GB, free: 2.348 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3586, allocations: 4.062 kB / 0.572 GB, free: 2.344 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.3587, allocations: 38.55 kB / 0.5721 GB, free: 2.309 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.757e-05/0.3588, allocations: 34.2 kB / 0.5721 GB, free: 2.277 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3588, allocations: 0 / 0.5721 GB, free: 2.277 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.3588, allocations: 4.891 kB / 0.5721 GB, free: 2.273 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3588, allocations: 0 / 0.5721 GB, free: 2.273 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3588, allocations: 0 / 0.5721 GB, free: 2.273 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.3591, allocations: 306.2 kB / 0.5724 GB, free: 1.949 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.3591, allocations: 8 kB / 0.5724 GB, free: 1.941 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.3592, allocations: 14.61 kB / 0.5724 GB, free: 1.93 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.746e-05/0.3593, allocations: 15.92 kB / 0.5724 GB, free: 1.914 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.3593, allocations: 15.98 kB / 0.5725 GB, free: 1.898 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.289e-05/0.3593, allocations: 32.83 kB / 0.5725 GB, free: 1.863 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.3593, allocations: 0 / 0.5725 GB, free: 1.863 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003609/0.3597, allocations: 131.7 kB / 0.5726 GB, free: 1.734 MB / 0.5417 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.0003292/0.36, allocations: 208.8 kB / 0.5728 GB, free: 1.52 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001908/0.3602, allocations: 124 kB / 0.5729 GB, free: 1.398 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/0.3602, allocations: 4 kB / 0.5729 GB, free: 1.395 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.529e-05/0.3603, allocations: 69.86 kB / 0.573 GB, free: 1.324 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.3607, allocations: 228.3 kB / 0.5732 GB, free: 1.086 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/0.364, allocations: 447.2 kB / 0.5736 GB, free: 0.6211 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.442e-05/0.364, allocations: 87.48 kB / 0.5737 GB, free: 0.5195 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001261/0.3642, allocations: 40.86 kB / 0.5738 GB, free: 500 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/0.3644, allocations: 139.8 kB / 0.5739 GB, free: 364 kB / 0.5417 GB Notification: Performance of SimCode: time 4.81e-07/0.3644, allocations: 0 / 0.5739 GB, free: 364 kB / 0.5417 GB Notification: Performance of Templates: time 0.006916/0.3713, allocations: 6.189 MB / 0.5799 GB, free: 10.46 MB / 0.5573 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: 3.7362755173817277]