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.382/1.382, allocations: 252 MB / 267.6 MB, free: 10.9 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.00151/0.00151, allocations: 174.5 kB / 327.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205.4 MB / 0.5783 GB, free: 20.27 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.001003/0.001003, allocations: 87.67 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003612, allocations: 9.031 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.242, allocations: 106.3 MB / 0.9008 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1601/0.4022, allocations: 135.2 MB / 1.033 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.009131/0.4114, allocations: 6.556 MB / 1.039 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002151/0.4116, allocations: 4 kB / 1.039 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003854/0.412, allocations: 43.67 kB / 1.039 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0005619/0.4126, allocations: 151.2 kB / 1.039 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002569/0.4152, allocations: 0.6282 MB / 1.04 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0007412/0.416, allocations: 467.4 kB / 1.041 GB, free: 408 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 7.619e-05/0.416, allocations: 9.688 kB / 1.041 GB, free: 400 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006591/0.4167, allocations: 191.2 kB / 1.041 GB, free: 208 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003266/0.4171, allocations: 139.5 kB / 1.041 GB, free: 68 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 5.568e-05/0.4171, allocations: 12 kB / 1.041 GB, free: 56 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/0.4189, allocations: 0.6432 MB / 1.042 GB, free: 15.41 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.4191, allocations: 75.77 kB / 1.042 GB, free: 15.33 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.4192, allocations: 65.64 kB / 1.042 GB, free: 15.26 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009/0.4201, allocations: 387.3 kB / 1.042 GB, free: 14.89 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4201, allocations: 0 / 1.042 GB, free: 14.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.364e-06/0.4201, allocations: 0 / 1.042 GB, free: 14.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.4202, allocations: 0 / 1.042 GB, free: 14.89 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.001375/0.4215, allocations: 0.5576 MB / 1.043 GB, free: 14.28 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.4216, allocations: 8.031 kB / 1.043 GB, free: 14.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.4228, allocations: 143.5 kB / 1.043 GB, free: 14.13 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.4232, allocations: 218.8 kB / 1.043 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.4232, allocations: 12.44 kB / 1.043 GB, free: 13.87 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.859e-05/0.4233, allocations: 16 kB / 1.043 GB, free: 13.85 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006572/0.4239, allocations: 343.4 kB / 1.043 GB, free: 13.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.424, allocations: 4 kB / 1.043 GB, free: 13.49 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.424, allocations: 8 kB / 1.043 GB, free: 13.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.339e-05/0.4241, allocations: 16.36 kB / 1.043 GB, free: 13.47 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000603/0.4247, allocations: 320.8 kB / 1.044 GB, free: 13.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.4265, allocations: 1.193 MB / 1.045 GB, free: 11.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005084/0.4271, allocations: 186.5 kB / 1.045 GB, free: 11.66 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.4272, allocations: 77.5 kB / 1.045 GB, free: 11.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005878/0.4278, allocations: 461.4 kB / 1.045 GB, free: 11.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.4279, allocations: 42.41 kB / 1.045 GB, free: 10.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 2.234e-06/0.4279, allocations: 0 / 1.045 GB, free: 10.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=20): time 0.0007179/0.4286, allocations: 247.6 kB / 1.046 GB, free: 10.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.4287, allocations: 55.41 kB / 1.046 GB, free: 10.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.4289, allocations: 218.4 kB / 1.046 GB, free: 10.46 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.429, allocations: 29.7 kB / 1.046 GB, free: 10.42 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.4291, allocations: 151.9 kB / 1.046 GB, free: 10.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.992e-05/0.4292, allocations: 71.08 kB / 1.046 GB, free: 10.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.441e-05/0.4292, allocations: 4 kB / 1.046 GB, free: 10.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.4293, allocations: 326.8 kB / 1.047 GB, free: 9.867 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.4295, allocations: 68.22 kB / 1.047 GB, free: 9.801 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.4297, allocations: 164.5 kB / 1.047 GB, free: 9.598 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.4298, allocations: 92.61 kB / 1.047 GB, free: 9.508 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.4298, allocations: 0 / 1.047 GB, free: 9.508 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005208/0.4304, allocations: 290.2 kB / 1.047 GB, free: 9.223 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.4304, allocations: 14.56 kB / 1.047 GB, free: 9.211 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.4304, allocations: 4.109 kB / 1.047 GB, free: 9.207 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.4305, allocations: 7.938 kB / 1.047 GB, free: 9.199 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.4307, allocations: 59.91 kB / 1.047 GB, free: 9.141 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.4307, allocations: 11.92 kB / 1.047 GB, free: 9.129 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.431, allocations: 39.62 kB / 1.047 GB, free: 9.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.4311, allocations: 12 kB / 1.047 GB, free: 9.078 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001506/0.4312, allocations: 141.8 kB / 1.047 GB, free: 8.93 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.4313, allocations: 31.66 kB / 1.047 GB, free: 8.898 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004634/0.4318, allocations: 254.3 kB / 1.048 GB, free: 8.648 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.4318, allocations: 7.984 kB / 1.048 GB, free: 8.641 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.4318, allocations: 0 / 1.048 GB, free: 8.641 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4319, allocations: 0 / 1.048 GB, free: 8.641 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007501/0.4326, allocations: 0.5691 MB / 1.048 GB, free: 8.012 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.4326, allocations: 0 / 1.048 GB, free: 8.012 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.4328, allocations: 39.92 kB / 1.048 GB, free: 7.973 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.4328, allocations: 3.938 kB / 1.048 GB, free: 7.969 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.4328, allocations: 4 kB / 1.048 GB, free: 7.965 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.4329, allocations: 3.984 kB / 1.048 GB, free: 7.961 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4329, allocations: 0 / 1.048 GB, free: 7.961 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004951/0.4334, allocations: 330 kB / 1.049 GB, free: 7.621 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.4335, allocations: 124.7 kB / 1.049 GB, free: 7.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.4336, allocations: 11.92 kB / 1.049 GB, free: 7.469 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.4338, allocations: 15.94 kB / 1.049 GB, free: 7.453 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.4339, allocations: 7.984 kB / 1.049 GB, free: 7.445 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.4339, allocations: 15.98 kB / 1.049 GB, free: 7.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001506/0.4341, allocations: 155.2 kB / 1.049 GB, free: 7.277 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4341, allocations: 0 / 1.049 GB, free: 7.277 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005304/0.4346, allocations: 119.9 kB / 1.049 GB, free: 7.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004256/0.435, allocations: 183.1 kB / 1.049 GB, free: 6.969 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003905/0.4354, allocations: 199.6 kB / 1.049 GB, free: 6.773 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.4355, allocations: 0.8125 kB / 1.049 GB, free: 6.773 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.4356, allocations: 95.89 kB / 1.05 GB, free: 6.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006664/0.4363, allocations: 103.6 kB / 1.05 GB, free: 6.578 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009554/0.4372, allocations: 0.5853 MB / 1.05 GB, free: 5.961 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.4376, allocations: 0.7372 MB / 1.051 GB, free: 5.199 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.4377, allocations: 27.44 kB / 1.051 GB, free: 5.172 MB / 0.698 GB Notification: Performance of SimCode: time 2.315e-06/0.4377, allocations: 0 / 1.051 GB, free: 5.172 MB / 0.698 GB Notification: Performance of Templates: time 0.008358/0.4461, allocations: 4.342 MB / 1.055 GB, free: 0.8555 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)