Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDryPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDryPoint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008446/0.008446, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.446/2.446, allocations: 437.8 MB / 0.7121 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003151/0.0003151, allocations: 8 kB / 0.873 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5873/0.5876, allocations: 153.8 MB / 1.023 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint): time 0.003389/0.591, allocations: 2.631 MB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1419/0.7329, allocations: 150.8 MB / 1.173 GB, free: 5.906 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000344/0.7333, allocations: 0 / 1.173 GB, free: 5.906 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.7347, allocations: 0.5328 MB / 1.173 GB, free: 5.371 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.7362, allocations: 0.6106 MB / 1.174 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.7375, allocations: 0.5533 MB / 1.175 GB, free: 4.203 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001106/0.7386, allocations: 1.299 MB / 1.176 GB, free: 2.902 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002279/0.7389, allocations: 178.5 kB / 1.176 GB, free: 2.715 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003598/0.7392, allocations: 438.1 kB / 1.176 GB, free: 2.285 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000657/0.7399, allocations: 0.5836 MB / 1.177 GB, free: 1.699 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.232e-05/0.74, allocations: 60 kB / 1.177 GB, free: 1.641 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001745/0.7418, allocations: 1.247 MB / 1.178 GB, free: 400 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002753/0.742, allocations: 354.7 kB / 1.179 GB, free: 44 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005115/0.7426, allocations: 0.6582 MB / 1.179 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002311/0.7449, allocations: 2.737 MB / 1.182 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.7449, allocations: 0 / 1.182 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7449, allocations: 0 / 1.182 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.7449, allocations: 0 / 1.182 GB, free: 12.63 MB / 0.9356 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.002923/0.7478, allocations: 1.887 MB / 1.184 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.7479, allocations: 12.03 kB / 1.184 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.172e-05/0.748, allocations: 50.67 kB / 1.184 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01553/0.7635, allocations: 2.187 MB / 1.186 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002313/0.7658, allocations: 1.452 MB / 1.187 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.7659, allocations: 16 kB / 1.187 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.393e-05/0.766, allocations: 24 kB / 1.187 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005294/0.7713, allocations: 1.218 MB / 1.189 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.7713, allocations: 3.984 kB / 1.189 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.403e-05/0.7713, allocations: 4 kB / 1.189 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.7714, allocations: 4 kB / 1.189 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009722/0.7811, allocations: 2.068 MB / 1.191 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01067/0.7918, allocations: 3.677 MB / 1.194 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/0.8021, allocations: 2.165 MB / 1.196 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004812/0.8069, allocations: 1.04 MB / 1.197 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006766/0.8076, allocations: 0.5336 MB / 1.198 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005062/0.8127, allocations: 1.177 MB / 1.199 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=23): time 2.735e-06/0.8127, allocations: 0 / 1.199 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.01593/0.8286, allocations: 3.311 MB / 1.202 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.634e-05/0.8288, allocations: 114.8 kB / 1.202 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004036/0.8328, allocations: 2.472 MB / 1.205 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001534/0.833, allocations: 45.69 kB / 1.205 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006046/0.8336, allocations: 0.5898 MB / 1.205 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.8337, allocations: 67 kB / 1.206 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.8338, allocations: 53.69 kB / 1.206 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.834, allocations: 322 kB / 1.206 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005138/0.8391, allocations: 1.175 MB / 1.207 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005074/0.8442, allocations: 1.229 MB / 1.208 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009269/0.8535, allocations: 2.044 MB / 1.21 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.8535, allocations: 0 / 1.21 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01225/0.8657, allocations: 2.928 MB / 1.213 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.129e-05/0.8659, allocations: 134.8 kB / 1.213 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.8659, allocations: 0 / 1.213 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003483/0.8694, allocations: 0.8147 MB / 1.214 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003133/0.8725, allocations: 0.4954 MB / 1.214 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008325/0.8809, allocations: 7.423 MB / 1.222 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003402/0.8843, allocations: 467 kB / 1.222 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.8844, allocations: 35.97 kB / 1.222 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.667e-06/0.8844, allocations: 4 kB / 1.222 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01064/0.8951, allocations: 2.604 MB / 1.225 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.8951, allocations: 3.938 kB / 1.225 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002015/0.8971, allocations: 0.6432 MB / 1.225 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003094/0.9002, allocations: 499.3 kB / 1.226 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005101/0.9054, allocations: 6.177 MB / 1.232 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003318/0.9087, allocations: 459.2 kB / 1.232 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.9089, allocations: 31.97 kB / 1.232 GB, free: 7.312 MB / 0.9825 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 (deaBan.y,$PRE.deaBan.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,appDryPt.stage,$whenCondition1) * 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.0009892/0.9099, allocations: 0.6781 MB / 1.233 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003923/0.9103, allocations: 150.1 kB / 1.233 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/0.9206, allocations: 2.335 MB / 1.235 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.9206, allocations: 0 / 1.235 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.9206, allocations: 4 kB / 1.235 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.9207, allocations: 4 kB / 1.235 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.9223, allocations: 1.259 MB / 1.237 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.9224, allocations: 0 / 1.237 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002774/0.9251, allocations: 451.4 kB / 1.237 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.9252, allocations: 0 / 1.237 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.735e-05/0.9252, allocations: 27.91 kB / 1.237 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.768e-06/0.9252, allocations: 0 / 1.237 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.9252, allocations: 0 / 1.237 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009914/0.9352, allocations: 2.253 MB / 1.239 GB, free: 28 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008062/0.936, allocations: 423.1 kB / 1.24 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003547/0.9364, allocations: 8 kB / 1.24 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002964/0.9393, allocations: 399.5 kB / 1.24 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.392e-05/0.9394, allocations: 27.91 kB / 1.24 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.771e-05/0.9395, allocations: 27.97 kB / 1.24 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00312/0.9426, allocations: 1.768 MB / 1.242 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9426, allocations: 0 / 1.242 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002102/0.9447, allocations: 0.5507 MB / 1.242 GB, free: 12.83 MB / 0.9981 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.01072/0.9555, allocations: 2.947 MB / 1.245 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01768/0.9732, allocations: 4.995 MB / 1.25 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.9732, allocations: 0 / 1.25 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005129/0.9784, allocations: 1.152 MB / 1.251 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/0.9806, allocations: 354.2 kB / 1.252 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4786/1.459, allocations: 24.4 MB / 1.276 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007462/1.46, allocations: 1.418 MB / 1.277 GB, free: 220.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0016/1.462, allocations: 448.5 kB / 1.277 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006724/1.462, allocations: 460.5 kB / 1.278 GB, free: 219.9 MB / 0.9981 GB Notification: Performance of SimCode: time 7.21e-07/1.462, allocations: 3.938 kB / 1.278 GB, free: 219.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.631/3.093, allocations: 41.92 MB / 1.319 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000146/3.093, allocations: 264.8 kB / 1.319 GB, free: 183 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.138/6.232, allocations: 0 / 1.319 GB, free: 183 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDryPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDryPoint.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1)