Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.EvaporationFlowReversal,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",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.007203/0.007203, allocations: 100.6 kB / 15.73 MB, free: 6.039 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.001699/0.001699, allocations: 201.7 kB / 16.68 MB, free: 5.965 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.587/2.587, allocations: 437 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 59.91 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2568, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003634/0.2604, allocations: 2.394 MB / 1.169 GB, free: 4.902 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7062/0.9666, allocations: 151 MB / 1.316 GB, free: 12.04 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.9669, allocations: 2.188 kB / 1.316 GB, free: 12.04 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003603/0.9672, allocations: 90.94 kB / 1.316 GB, free: 12.01 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000735/0.968, allocations: 244.6 kB / 1.316 GB, free: 11.93 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001797/0.9698, allocations: 0.6679 MB / 1.317 GB, free: 11.83 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005641/0.9704, allocations: 441.6 kB / 1.317 GB, free: 11.76 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.9705, allocations: 45.05 kB / 1.317 GB, free: 11.75 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002336/0.9708, allocations: 184.9 kB / 1.318 GB, free: 11.72 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003323/0.9711, allocations: 202.3 kB / 1.318 GB, free: 11.69 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.879e-05/0.9712, allocations: 29.22 kB / 1.318 GB, free: 11.69 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.9725, allocations: 0.6275 MB / 1.318 GB, free: 11.65 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.9726, allocations: 82.02 kB / 1.318 GB, free: 11.64 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.9728, allocations: 168.1 kB / 1.319 GB, free: 11.59 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.9739, allocations: 0.6599 MB / 1.319 GB, free: 11.51 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.974, allocations: 1.062 kB / 1.319 GB, free: 11.51 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.352e-06/0.974, allocations: 0 / 1.319 GB, free: 11.51 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.974, allocations: 0 / 1.319 GB, free: 11.51 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.00156/0.9755, allocations: 0.7565 MB / 1.32 GB, free: 10.96 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.9756, allocations: 10.41 kB / 1.32 GB, free: 10.96 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.35e-05/0.9756, allocations: 46.02 kB / 1.32 GB, free: 10.92 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.9773, allocations: 161.1 kB / 1.32 GB, free: 10.9 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005192/0.9778, allocations: 320.9 kB / 1.321 GB, free: 10.66 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.034e-05/0.9779, allocations: 46.2 kB / 1.321 GB, free: 10.63 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.476e-05/0.9779, allocations: 18.03 kB / 1.321 GB, free: 10.63 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/0.9784, allocations: 210.6 kB / 1.321 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.9784, allocations: 5.578 kB / 1.321 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.9784, allocations: 4.5 kB / 1.321 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.9784, allocations: 4.031 kB / 1.321 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00027/0.9787, allocations: 120 kB / 1.321 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0026/0.9813, allocations: 0.985 MB / 1.322 GB, free: 10.09 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008034/0.9821, allocations: 165 kB / 1.322 GB, free: 10.07 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.9823, allocations: 94.59 kB / 1.322 GB, free: 10.06 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.9824, allocations: 7.734 kB / 1.322 GB, free: 10.06 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003535/0.9827, allocations: 193.2 kB / 1.322 GB, free: 9.973 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 2.344e-06/0.9828, allocations: 4 kB / 1.322 GB, free: 9.969 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.004328/0.9871, allocations: 0.8575 MB / 1.323 GB, free: 9.758 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.9872, allocations: 81.89 kB / 1.323 GB, free: 9.664 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004502/0.9876, allocations: 345 kB / 1.324 GB, free: 9.539 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.669e-05/0.9877, allocations: 36.28 kB / 1.324 GB, free: 9.508 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.9879, allocations: 146.7 kB / 1.324 GB, free: 9.418 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.259e-05/0.988, allocations: 64.73 kB / 1.324 GB, free: 9.367 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.9881, allocations: 84.81 kB / 1.324 GB, free: 9.328 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.9883, allocations: 343.8 kB / 1.324 GB, free: 9 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/0.9886, allocations: 140.2 kB / 1.324 GB, free: 8.953 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004552/0.9891, allocations: 212.6 kB / 1.325 GB, free: 8.852 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006825/0.9898, allocations: 346.1 kB / 1.325 GB, free: 8.641 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.9898, allocations: 1.125 kB / 1.325 GB, free: 8.641 MB / 1.014 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003896/0.9937, allocations: 0.8631 MB / 1.326 GB, free: 8.359 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.601e-05/0.9938, allocations: 35.98 kB / 1.326 GB, free: 8.328 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.9938, allocations: 1.312 kB / 1.326 GB, free: 8.328 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009508/0.9947, allocations: 202.3 kB / 1.326 GB, free: 8.266 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.995, allocations: 35.38 kB / 1.326 GB, free: 8.266 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003079/0.9981, allocations: 2.349 MB / 1.328 GB, free: 6.102 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005494/0.9987, allocations: 51.27 kB / 1.328 GB, free: 6.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.704e-05/0.9987, allocations: 22.45 kB / 1.328 GB, free: 6.066 MB / 1.014 GB Warning: Assuming fixed start value for the following 1 variables: eva.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.eva.off,eva.off,$whenCondition2,mAir_flow.nextEventScaled,mAir_flow.nextEvent,$PRE.mAir_flow.nextEvent,mAir_flow.last,mAir_flow.b,mAir_flow.a,$whenCondition1,int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {7} * Without analytic Jacobian (size): 0 systems 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002557/0.999, allocations: 191.8 kB / 1.329 GB, free: 5.895 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.836e-05/0.9991, allocations: 32.81 kB / 1.329 GB, free: 5.879 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.587e-05/0.9991, allocations: 29.75 kB / 1.329 GB, free: 5.859 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.9991, allocations: 1.922 kB / 1.329 GB, free: 5.859 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.9991, allocations: 0.625 kB / 1.329 GB, free: 5.859 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.9991, allocations: 6.312 kB / 1.329 GB, free: 5.855 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003349/1.002, allocations: 1.037 MB / 1.33 GB, free: 5.332 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/1.003, allocations: 1.812 kB / 1.33 GB, free: 5.332 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.162e-05/1.003, allocations: 4 kB / 1.33 GB, free: 5.332 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003213/1.003, allocations: 113.4 kB / 1.33 GB, free: 5.297 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/1.003, allocations: 13.36 kB / 1.33 GB, free: 5.289 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009676/1.004, allocations: 0.7509 MB / 1.33 GB, free: 4.641 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.004, allocations: 3.938 kB / 1.33 GB, free: 4.637 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003433/1.007, allocations: 0.8736 MB / 1.331 GB, free: 4.277 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002203/1.008, allocations: 136.7 kB / 1.331 GB, free: 4.152 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.264e-05/1.008, allocations: 7.656 kB / 1.331 GB, free: 4.148 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/1.008, allocations: 15.59 kB / 1.331 GB, free: 4.145 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/1.008, allocations: 7.984 kB / 1.331 GB, free: 4.145 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.685e-05/1.008, allocations: 11.28 kB / 1.332 GB, free: 4.145 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003631/1.008, allocations: 242.4 kB / 1.332 GB, free: 4.016 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.008, allocations: 0 / 1.332 GB, free: 4.016 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000669/1.009, allocations: 114.3 kB / 1.332 GB, free: 4 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (eva.m,int.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,eva.off,mAir_flow.a,mAir_flow.b,mAir_flow.last,mAir_flow.nextEvent,mAir_flow.nextEventScaled) * Number of discrete states: 7 (eva.off,mAir_flow.nextEvent,mAir_flow.last,mAir_flow.nextEventScaled,mAir_flow.b,mAir_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {7} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001758/1.011, allocations: 1.224 MB / 1.333 GB, free: 3.125 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001841/1.013, allocations: 0.5822 MB / 1.334 GB, free: 2.797 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.013, allocations: 0 / 1.334 GB, free: 2.797 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008029/1.014, allocations: 253.3 kB / 1.334 GB, free: 2.664 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005197/1.014, allocations: 71.3 kB / 1.334 GB, free: 2.633 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/1.026, allocations: 4.359 MB / 1.338 GB, free: 340 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/1.026, allocations: 0.7629 MB / 1.339 GB, free: 15.63 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000175/1.027, allocations: 30.88 kB / 1.339 GB, free: 15.62 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/1.027, allocations: 91.19 kB / 1.339 GB, free: 15.55 MB / 1.029 GB Notification: Performance of SimCode: time 7.31e-07/1.027, allocations: 0 / 1.339 GB, free: 15.55 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04234/1.069, allocations: 10.32 MB / 1.349 GB, free: 12.94 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/12.43, allocations: 7.531 kB / 1.349 GB, free: 12.93 MB / 1.029 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.csv --start-time 0 --stop-time 2400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.96 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)