Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.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.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint",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.449/1.449, allocations: 252 MB / 267.3 MB, free: 10.84 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.001296/0.001296, allocations: 182.6 kB / 327 MB, free: 2.09 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.577/1.577, allocations: 205.4 MB / 0.578 GB, free: 20.09 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.0007934/0.0007934, allocations: 88.11 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003362/0.0003364, allocations: 12.53 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2059, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint): time 0.003091/0.209, allocations: 2.525 MB / 0.9034 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1537/0.3627, allocations: 150.7 MB / 1.051 GB, free: 5.57 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003939/0.3632, allocations: 7.938 kB / 1.051 GB, free: 5.562 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.3647, allocations: 0.4981 MB / 1.051 GB, free: 5.062 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001679/0.3664, allocations: 0.5912 MB / 1.052 GB, free: 4.469 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001654/0.3681, allocations: 0.556 MB / 1.052 GB, free: 3.914 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001411/0.3695, allocations: 1.235 MB / 1.053 GB, free: 2.676 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003201/0.3698, allocations: 186.4 kB / 1.054 GB, free: 2.477 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006954/0.3705, allocations: 422.2 kB / 1.054 GB, free: 2.062 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.3716, allocations: 0.5641 MB / 1.055 GB, free: 1.496 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002218/0.3718, allocations: 60 kB / 1.055 GB, free: 1.438 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002436/0.3742, allocations: 1.247 MB / 1.056 GB, free: 192 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.4706/0.8448, allocations: 331.8 kB / 1.056 GB, free: 3.945 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001237/0.8461, allocations: 0.6354 MB / 1.057 GB, free: 3.914 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004273/0.8504, allocations: 2.662 MB / 1.059 GB, free: 3.871 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.8504, allocations: 0 / 1.059 GB, free: 3.871 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8505, allocations: 2.469 kB / 1.059 GB, free: 3.871 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.913e-05/0.8505, allocations: 0 / 1.059 GB, free: 3.871 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.003895/0.8544, allocations: 1.813 MB / 1.061 GB, free: 2.887 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.8545, allocations: 16.72 kB / 1.061 GB, free: 2.887 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.404e-05/0.8546, allocations: 48.05 kB / 1.061 GB, free: 2.848 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01614/0.8707, allocations: 2.184 MB / 1.063 GB, free: 2.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002864/0.8736, allocations: 1.372 MB / 1.065 GB, free: 2.258 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.8737, allocations: 16.16 kB / 1.065 GB, free: 2.258 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.022e-05/0.8738, allocations: 26.66 kB / 1.065 GB, free: 2.258 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005645/0.8794, allocations: 1.216 MB / 1.066 GB, free: 2.164 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.8795, allocations: 0 / 1.066 GB, free: 2.164 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.451e-05/0.8795, allocations: 5.625 kB / 1.066 GB, free: 2.164 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.8795, allocations: 3.031 kB / 1.066 GB, free: 2.164 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01006/0.8896, allocations: 2.065 MB / 1.068 GB, free: 2.074 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01094/0.9006, allocations: 3.653 MB / 1.071 GB, free: 1.188 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009959/0.9106, allocations: 2.175 MB / 1.074 GB, free: 1.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004718/0.9153, allocations: 1.041 MB / 1.075 GB, free: 1.016 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008069/0.9161, allocations: 0.5255 MB / 1.075 GB, free: 16.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005006/0.9212, allocations: 1.181 MB / 1.076 GB, free: 16.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=23): time 3.276e-06/0.9212, allocations: 1.859 kB / 1.076 GB, free: 16.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.01612/0.9373, allocations: 3.302 MB / 1.079 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.366e-05/0.9374, allocations: 109 kB / 1.08 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005103/0.9426, allocations: 2.408 MB / 1.082 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003019/0.9429, allocations: 36.48 kB / 1.082 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007318/0.9436, allocations: 0.5486 MB / 1.083 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.9438, allocations: 70.42 kB / 1.083 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.9439, allocations: 6.719 kB / 1.083 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.9441, allocations: 327.5 kB / 1.083 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00513/0.9492, allocations: 1.18 MB / 1.084 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004976/0.9542, allocations: 1.216 MB / 1.085 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009099/0.9633, allocations: 2.05 MB / 1.087 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.9634, allocations: 0 / 1.087 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01208/0.9755, allocations: 2.921 MB / 1.09 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.9756, allocations: 129.9 kB / 1.09 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.9756, allocations: 0 / 1.09 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003602/0.9792, allocations: 0.8071 MB / 1.091 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0032/0.9825, allocations: 0.4907 MB / 1.091 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008934/0.9914, allocations: 7.443 MB / 1.099 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003747/0.9952, allocations: 461 kB / 1.099 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001877/0.9954, allocations: 34.06 kB / 1.099 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.298e-06/0.9954, allocations: 8.875 kB / 1.099 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01077/1.006, allocations: 2.607 MB / 1.102 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/1.006, allocations: 4 kB / 1.102 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002422/1.009, allocations: 0.6361 MB / 1.102 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00358/1.012, allocations: 499.7 kB / 1.103 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005513/1.018, allocations: 6.192 MB / 1.109 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003459/1.021, allocations: 459.4 kB / 1.109 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/1.021, allocations: 32.16 kB / 1.109 GB, free: 2.684 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,appDryPt.stage,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,$PRE.deaBan.y,deaBan.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001261/1.023, allocations: 0.6625 MB / 1.11 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005967/1.023, allocations: 141.2 kB / 1.11 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01029/1.034, allocations: 2.33 MB / 1.112 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/1.034, allocations: 7.938 kB / 1.112 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/1.034, allocations: 2.906 kB / 1.112 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/1.034, allocations: 3.984 kB / 1.112 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/1.036, allocations: 1.227 MB / 1.114 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/1.036, allocations: 0 / 1.114 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002732/1.039, allocations: 448.4 kB / 1.114 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/1.039, allocations: 4.688 kB / 1.114 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.01e-05/1.039, allocations: 16.55 kB / 1.114 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/1.039, allocations: 3.938 kB / 1.114 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.039, allocations: 0 / 1.114 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/1.049, allocations: 2.254 MB / 1.116 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/1.051, allocations: 426.2 kB / 1.117 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006057/1.051, allocations: 9.188 kB / 1.117 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003225/1.055, allocations: 402.2 kB / 1.117 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/1.055, allocations: 19.72 kB / 1.117 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.637e-05/1.055, allocations: 31.53 kB / 1.117 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.004102/1.059, allocations: 1.724 MB / 1.119 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.502e-06/1.059, allocations: 0 / 1.119 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003584/1.063, allocations: 0.5362 MB / 1.119 GB, free: 14.99 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,appDryPt.stage,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,deaBan.y) * Number of discrete states: 7 (deaBan.y,speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.01153/1.074, allocations: 2.952 MB / 1.122 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01868/1.093, allocations: 4.985 MB / 1.127 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/1.093, allocations: 0 / 1.127 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.005318/1.098, allocations: 1.146 MB / 1.128 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002777/1.101, allocations: 313.9 kB / 1.129 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08411/1.185, allocations: 23.98 MB / 1.152 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001259/1.186, allocations: 1.394 MB / 1.153 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002033/1.188, allocations: 390.7 kB / 1.154 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/1.19, allocations: 432.1 kB / 1.154 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of SimCode: time 1.183e-06/1.19, allocations: 0 / 1.154 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06819/1.258, allocations: 40.44 MB / 1.194 GB, free: 15.1 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/1.258, allocations: 275.1 kB / 1.194 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.191/4.449, allocations: 0 / 1.194 GB, free: 14.73 MB / 0.7917 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1)