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: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.237/1.237, allocations: 251.5 MB / 266.7 MB, free: 11.06 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.001249/0.001249, allocations: 175.8 kB / 325.8 MB, free: 2.711 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.275/1.275, allocations: 205 MB / 0.576 GB, free: 21.05 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.0006889/0.0006889, allocations: 88.03 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002665/0.0002666, allocations: 12.56 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1388, allocations: 105.4 MB / 0.8962 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1143/0.2531, allocations: 146.5 MB / 1.039 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006483/0.2596, allocations: 7.208 MB / 1.046 GB, free: 9.766 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.017e-05/0.2597, allocations: 0 / 1.046 GB, free: 9.766 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.26, allocations: 67.69 kB / 1.046 GB, free: 9.699 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002734/0.2603, allocations: 159.2 kB / 1.047 GB, free: 9.543 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.2621, allocations: 0.907 MB / 1.047 GB, free: 8.633 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004109/0.2625, allocations: 0.554 MB / 1.048 GB, free: 8.074 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.042e-05/0.2625, allocations: 17.56 kB / 1.048 GB, free: 8.059 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003074/0.2628, allocations: 195.2 kB / 1.048 GB, free: 7.867 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.263, allocations: 151.5 kB / 1.048 GB, free: 7.719 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.2631, allocations: 8 kB / 1.048 GB, free: 7.711 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.2648, allocations: 1.512 MB / 1.05 GB, free: 6.195 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.565e-05/0.2649, allocations: 75.78 kB / 1.05 GB, free: 6.121 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.265, allocations: 107.5 kB / 1.05 GB, free: 6.016 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008772/0.2659, allocations: 0.7401 MB / 1.051 GB, free: 5.273 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2659, allocations: 0 / 1.051 GB, free: 5.273 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2659, allocations: 0 / 1.051 GB, free: 5.273 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.2659, allocations: 0 / 1.051 GB, free: 5.273 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.0008446/0.2668, allocations: 0.5538 MB / 1.051 GB, free: 4.672 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.2668, allocations: 8.031 kB / 1.051 GB, free: 4.664 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.025e-05/0.2669, allocations: 58.67 kB / 1.051 GB, free: 4.598 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.2679, allocations: 136.5 kB / 1.051 GB, free: 4.465 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.2681, allocations: 231.8 kB / 1.052 GB, free: 4.199 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.2681, allocations: 12.44 kB / 1.052 GB, free: 4.188 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.2681, allocations: 16 kB / 1.052 GB, free: 4.172 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004578/0.2686, allocations: 351.4 kB / 1.052 GB, free: 3.809 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2686, allocations: 0 / 1.052 GB, free: 3.809 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.2687, allocations: 11.98 kB / 1.052 GB, free: 3.797 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.866e-05/0.2687, allocations: 12.38 kB / 1.052 GB, free: 3.785 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004423/0.2691, allocations: 320.9 kB / 1.052 GB, free: 3.473 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.2705, allocations: 1.193 MB / 1.054 GB, free: 2.172 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004156/0.2709, allocations: 190.4 kB / 1.054 GB, free: 1.977 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.271, allocations: 76.81 kB / 1.054 GB, free: 1.898 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004565/0.2715, allocations: 461.5 kB / 1.054 GB, free: 1.355 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.2715, allocations: 42.61 kB / 1.054 GB, free: 1.305 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.2715, allocations: 3.938 kB / 1.054 GB, free: 1.301 MB / 0.698 GB Notification: Performance of matching and sorting (n=20): time 0.0005463/0.2721, allocations: 250.2 kB / 1.055 GB, free: 1.055 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.2721, allocations: 55.41 kB / 1.055 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.2723, allocations: 214.5 kB / 1.055 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.2723, allocations: 37.7 kB / 1.055 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.386e-05/0.2724, allocations: 147.9 kB / 1.055 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.2725, allocations: 67 kB / 1.055 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.2725, allocations: 29.7 kB / 1.055 GB, free: 488 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.47e-05/0.2726, allocations: 326.8 kB / 1.055 GB, free: 152 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.2727, allocations: 72.22 kB / 1.055 GB, free: 80 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2754/0.5481, allocations: 166.9 kB / 1.056 GB, free: 161 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/0.5484, allocations: 264.4 kB / 1.056 GB, free: 160.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5485, allocations: 0 / 1.056 GB, free: 160.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004657/0.5489, allocations: 278.9 kB / 1.056 GB, free: 160.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.549, allocations: 7.844 kB / 1.056 GB, free: 160.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.549, allocations: 4.219 kB / 1.056 GB, free: 160.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.549, allocations: 5.828 kB / 1.056 GB, free: 160.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.5492, allocations: 55.81 kB / 1.056 GB, free: 160.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.5493, allocations: 14.27 kB / 1.056 GB, free: 160.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.5495, allocations: 35.2 kB / 1.056 GB, free: 160.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.5495, allocations: 14.5 kB / 1.056 GB, free: 160.8 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.0001096/0.5496, allocations: 144 kB / 1.056 GB, free: 160.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.5498, allocations: 22.17 kB / 1.056 GB, free: 160.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003839/0.5501, allocations: 269 kB / 1.057 GB, free: 160.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.5502, allocations: 3.234 kB / 1.057 GB, free: 160.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5502, allocations: 4.188 kB / 1.057 GB, free: 160.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-06/0.5502, allocations: 1.219 kB / 1.057 GB, free: 160.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005108/0.5507, allocations: 0.5639 MB / 1.057 GB, free: 160.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5507, allocations: 0 / 1.057 GB, free: 160.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.5509, allocations: 36.59 kB / 1.057 GB, free: 160.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.634e-06/0.5509, allocations: 1.641 kB / 1.057 GB, free: 160.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.5509, allocations: 5.344 kB / 1.057 GB, free: 160.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.5509, allocations: 2.672 kB / 1.057 GB, free: 160.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5509, allocations: 2.75 kB / 1.057 GB, free: 160.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/0.5513, allocations: 342.3 kB / 1.058 GB, free: 160.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.919e-05/0.5514, allocations: 120 kB / 1.058 GB, free: 160.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.5514, allocations: 2.875 kB / 1.058 GB, free: 160.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.5516, allocations: 13.48 kB / 1.058 GB, free: 160.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.5517, allocations: 15.7 kB / 1.058 GB, free: 160.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.5517, allocations: 14.2 kB / 1.058 GB, free: 160.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.191e-05/0.5518, allocations: 160.3 kB / 1.058 GB, free: 160 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5518, allocations: 1.531 kB / 1.058 GB, free: 160 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004171/0.5522, allocations: 124.1 kB / 1.058 GB, free: 160 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.0007249/0.553, allocations: 0.96 MB / 1.059 GB, free: 159.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000267/0.5532, allocations: 213 kB / 1.059 GB, free: 159.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.5533, allocations: 0 / 1.059 GB, free: 159.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.5534, allocations: 99.27 kB / 1.059 GB, free: 159.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005146/0.5539, allocations: 94 kB / 1.059 GB, free: 159.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.5559, allocations: 2.556 MB / 1.062 GB, free: 157.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.556, allocations: 0.7405 MB / 1.063 GB, free: 157 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002726/0.5563, allocations: 63.08 kB / 1.063 GB, free: 157 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.958e-05/0.5564, allocations: 58.81 kB / 1.063 GB, free: 157 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/0.5564, allocations: 0 / 1.063 GB, free: 157 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4358/0.9922, allocations: 7.347 MB / 1.07 GB, free: 156 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001591/0.9924, allocations: 196.2 kB / 1.07 GB, free: 155.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.931, allocations: 2.75 kB / 1.07 GB, free: 155.8 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_AirProperties.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe 2>&1)