Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.389/1.389, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009853/0.0009853, allocations: 184.2 kB / 327.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.759/1.759, allocations: 205.4 MB / 0.5786 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007833/0.0007834, allocations: 89.81 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003603, allocations: 11.25 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2366, allocations: 106.3 MB / 0.9014 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1572/0.3938, allocations: 145 MB / 1.043 GB, free: 13.94 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009457/0.4034, allocations: 7.099 MB / 1.05 GB, free: 6.82 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002092/0.4036, allocations: 0 / 1.05 GB, free: 6.82 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004496/0.4041, allocations: 71.62 kB / 1.05 GB, free: 6.75 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005084/0.4046, allocations: 155.2 kB / 1.05 GB, free: 6.598 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002993/0.4076, allocations: 0.9226 MB / 1.051 GB, free: 5.672 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0007267/0.4084, allocations: 0.5424 MB / 1.052 GB, free: 5.125 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.851e-05/0.4084, allocations: 21.66 kB / 1.052 GB, free: 5.105 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005533/0.409, allocations: 187.2 kB / 1.052 GB, free: 4.922 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003208/0.4093, allocations: 155.4 kB / 1.052 GB, free: 4.77 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.27e-05/0.4094, allocations: 8 kB / 1.052 GB, free: 4.762 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002866/0.4123, allocations: 1.512 MB / 1.053 GB, free: 3.246 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.4124, allocations: 71.77 kB / 1.054 GB, free: 3.176 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002194/0.4126, allocations: 137.2 kB / 1.054 GB, free: 3.035 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00098/0.4136, allocations: 447.3 kB / 1.054 GB, free: 2.598 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4136, allocations: 4 kB / 1.054 GB, free: 2.594 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4137, allocations: 0 / 1.054 GB, free: 2.594 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.4137, allocations: 0 / 1.054 GB, free: 2.594 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001345/0.415, allocations: 0.5538 MB / 1.055 GB, free: 1.992 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.4151, allocations: 8.031 kB / 1.055 GB, free: 1.984 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.4163, allocations: 136.5 kB / 1.055 GB, free: 1.852 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.4166, allocations: 224.1 kB / 1.055 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.4167, allocations: 16.38 kB / 1.055 GB, free: 1.578 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.415e-05/0.4167, allocations: 16 kB / 1.055 GB, free: 1.562 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006354/0.4174, allocations: 359.3 kB / 1.055 GB, free: 1.191 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.4174, allocations: 0 / 1.055 GB, free: 1.191 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.785e-05/0.4175, allocations: 8 kB / 1.055 GB, free: 1.184 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/0.4175, allocations: 12.38 kB / 1.055 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005811/0.4181, allocations: 320.9 kB / 1.056 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5127/0.9307, allocations: 1.186 MB / 1.057 GB, free: 156.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00055/0.9314, allocations: 192 kB / 1.057 GB, free: 156.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.9315, allocations: 83.94 kB / 1.057 GB, free: 156.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005409/0.9321, allocations: 457.2 kB / 1.058 GB, free: 156.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.9321, allocations: 35.77 kB / 1.058 GB, free: 156 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 2.895e-06/0.9321, allocations: 0 / 1.058 GB, free: 156 MB / 0.698 GB Notification: Performance of matching and sorting (n=20): time 0.0007046/0.9328, allocations: 251.7 kB / 1.058 GB, free: 156 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.9329, allocations: 52.72 kB / 1.058 GB, free: 155.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.9331, allocations: 226 kB / 1.058 GB, free: 155.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.9331, allocations: 27.23 kB / 1.058 GB, free: 155.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.23e-05/0.9332, allocations: 152.8 kB / 1.058 GB, free: 155.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.543e-05/0.9333, allocations: 69.45 kB / 1.058 GB, free: 155.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.724e-05/0.9333, allocations: 5.594 kB / 1.058 GB, free: 155.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.282e-05/0.9334, allocations: 330.1 kB / 1.059 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.9336, allocations: 69.7 kB / 1.059 GB, free: 155.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.9337, allocations: 164.3 kB / 1.059 GB, free: 155.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.934, allocations: 256.8 kB / 1.059 GB, free: 155.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.934, allocations: 0 / 1.059 GB, free: 155.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004531/0.9345, allocations: 285.5 kB / 1.059 GB, free: 155.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.9345, allocations: 5.875 kB / 1.059 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.9345, allocations: 5.688 kB / 1.059 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.9345, allocations: 2.938 kB / 1.059 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.9348, allocations: 57.81 kB / 1.059 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.9348, allocations: 10.05 kB / 1.059 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.935, allocations: 35.23 kB / 1.059 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/0.9351, allocations: 13.97 kB / 1.059 GB, free: 155 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 0.0001243/0.9352, allocations: 145.7 kB / 1.06 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.9353, allocations: 29.44 kB / 1.06 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004302/0.9358, allocations: 263.2 kB / 1.06 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/0.9358, allocations: 6.688 kB / 1.06 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.9358, allocations: 0 / 1.06 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.9358, allocations: 1.156 kB / 1.06 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006472/0.9365, allocations: 0.5656 MB / 1.06 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.9365, allocations: 0.625 kB / 1.06 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.9367, allocations: 36.44 kB / 1.06 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.9367, allocations: 0 / 1.06 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.9367, allocations: 9.078 kB / 1.061 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.9367, allocations: 0.5625 kB / 1.061 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.9367, allocations: 2.938 kB / 1.061 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004331/0.9371, allocations: 341.9 kB / 1.061 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.76e-05/0.9373, allocations: 119.1 kB / 1.061 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/0.9373, allocations: 6.844 kB / 1.061 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.9376, allocations: 15.27 kB / 1.061 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.9376, allocations: 12.12 kB / 1.061 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/0.9376, allocations: 15.17 kB / 1.061 GB, free: 154.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001125/0.9378, allocations: 156.9 kB / 1.061 GB, free: 154.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9378, allocations: 0.8438 kB / 1.061 GB, free: 154.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004999/0.9383, allocations: 129.2 kB / 1.061 GB, free: 154.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 16 * 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.0004344/0.9387, allocations: 212.6 kB / 1.061 GB, free: 154.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003472/0.9391, allocations: 193.4 kB / 1.062 GB, free: 154.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.9391, allocations: 6.281 kB / 1.062 GB, free: 154.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.9392, allocations: 95.28 kB / 1.062 GB, free: 154.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000617/0.9398, allocations: 97.86 kB / 1.062 GB, free: 154.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008101/0.9406, allocations: 0.5974 MB / 1.062 GB, free: 153.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.9408, allocations: 0.7433 MB / 1.063 GB, free: 153.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.817e-05/0.941, allocations: 23.45 kB / 1.063 GB, free: 153 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/0.941, allocations: 1.422 kB / 1.063 GB, free: 153 MB / 0.698 GB Notification: Performance of Templates: time 0.008989/0.95, allocations: 4.378 MB / 1.067 GB, free: 152.7 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe 2>&1)