Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_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.001337/0.001337, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001347/0.001347, allocations: 191.4 kB / 16.13 MB, free: 6.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.128/1.128, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.482/1.482, allocations: 292.3 MB / 0.5484 GB, free: 13.7 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 70.5 kB / 0.671 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1618, allocations: 114.6 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.003047/0.1649, allocations: 2.452 MB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5259/0.6908, allocations: 148.7 MB / 0.9304 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.691, allocations: 3.562 kB / 0.9304 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003779/0.6914, allocations: 81.14 kB / 0.9305 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006018/0.692, allocations: 205.8 kB / 0.9307 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.6934, allocations: 0.5791 MB / 0.9313 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004578/0.6939, allocations: 414.3 kB / 0.9316 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.694, allocations: 48.73 kB / 0.9317 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.6942, allocations: 164.4 kB / 0.9319 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003235/0.6946, allocations: 193.8 kB / 0.932 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.454e-05/0.6946, allocations: 18.06 kB / 0.9321 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.6958, allocations: 0.6696 MB / 0.9327 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.696, allocations: 71 kB / 0.9328 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.6961, allocations: 151.7 kB / 0.9329 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008225/0.697, allocations: 0.6517 MB / 0.9336 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.697, allocations: 0.75 kB / 0.9336 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.92e-07/0.697, allocations: 6.844 kB / 0.9336 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.697, allocations: 0 / 0.9336 GB, free: 6.051 MB / 0.7325 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.001593/0.6986, allocations: 0.7353 MB / 0.9343 GB, free: 21.53 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.6986, allocations: 10.53 kB / 0.9343 GB, free: 21.53 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.409e-05/0.6987, allocations: 43.8 kB / 0.9343 GB, free: 21.49 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001512/0.7002, allocations: 158.7 kB / 0.9345 GB, free: 21.47 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/0.7007, allocations: 327.3 kB / 0.9348 GB, free: 21.23 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.082e-05/0.7007, allocations: 43.8 kB / 0.9348 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.57e-05/0.7008, allocations: 22.38 kB / 0.9349 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003767/0.7012, allocations: 200.4 kB / 0.9351 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.7012, allocations: 2.906 kB / 0.9351 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.7012, allocations: 7.375 kB / 0.9351 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.7012, allocations: 8.25 kB / 0.9351 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/0.7015, allocations: 116.4 kB / 0.9352 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002483/0.704, allocations: 0.994 MB / 0.9362 GB, free: 20.67 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007735/0.7048, allocations: 167.8 kB / 0.9363 GB, free: 20.64 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.705, allocations: 100.3 kB / 0.9364 GB, free: 20.63 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.705, allocations: 0 / 0.9364 GB, free: 20.63 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004527/0.7055, allocations: 190.4 kB / 0.9366 GB, free: 20.55 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 1.363e-06/0.7055, allocations: 5.094 kB / 0.9366 GB, free: 20.55 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.004088/0.7096, allocations: 0.8553 MB / 0.9374 GB, free: 20.34 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.157e-05/0.7096, allocations: 80.44 kB / 0.9375 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004005/0.7101, allocations: 351.4 kB / 0.9378 GB, free: 20.12 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.154e-05/0.7101, allocations: 35.94 kB / 0.9379 GB, free: 20.09 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.7102, allocations: 154.8 kB / 0.938 GB, free: 20 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.7103, allocations: 51.11 kB / 0.9381 GB, free: 19.97 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.7104, allocations: 86.03 kB / 0.9382 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.7106, allocations: 344 kB / 0.9385 GB, free: 19.64 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003205/0.7109, allocations: 141.4 kB / 0.9386 GB, free: 19.63 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003801/0.7113, allocations: 215.5 kB / 0.9388 GB, free: 19.59 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005697/0.7119, allocations: 341 kB / 0.9391 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.7119, allocations: 0 / 0.9391 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003635/0.7156, allocations: 0.8546 MB / 0.94 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.215e-05/0.7156, allocations: 41.12 kB / 0.94 GB, free: 19.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.7156, allocations: 0 / 0.94 GB, free: 19.33 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009526/0.7166, allocations: 198.4 kB / 0.9402 GB, free: 19.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.7168, allocations: 39.77 kB / 0.9402 GB, free: 19.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002812/0.7197, allocations: 2.233 MB / 0.9424 GB, free: 17.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004765/0.7202, allocations: 54.67 kB / 0.9425 GB, free: 17.39 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.606e-05/0.7202, allocations: 15.84 kB / 0.9425 GB, free: 17.39 MB / 0.7481 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.0002566/0.7205, allocations: 194.9 kB / 0.9427 GB, free: 17.24 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.967e-05/0.7205, allocations: 26.88 kB / 0.9427 GB, free: 17.23 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.579e-05/0.7206, allocations: 26.52 kB / 0.9427 GB, free: 17.22 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.7206, allocations: 0.6094 kB / 0.9427 GB, free: 17.22 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.7206, allocations: 2.625 kB / 0.9427 GB, free: 17.22 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.7206, allocations: 4.562 kB / 0.9427 GB, free: 17.22 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003293/0.7239, allocations: 1.041 MB / 0.9438 GB, free: 16.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.7239, allocations: 0.5625 kB / 0.9438 GB, free: 16.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.272e-05/0.724, allocations: 10.38 kB / 0.9438 GB, free: 16.85 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003038/0.7243, allocations: 113.8 kB / 0.9439 GB, free: 16.84 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.7243, allocations: 13.09 kB / 0.9439 GB, free: 16.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008852/0.7252, allocations: 0.753 MB / 0.9446 GB, free: 16.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.7252, allocations: 2.031 kB / 0.9446 GB, free: 16.24 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003154/0.7284, allocations: 0.8627 MB / 0.9455 GB, free: 16.03 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/0.7286, allocations: 138.3 kB / 0.9456 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.005e-05/0.7287, allocations: 7.562 kB / 0.9456 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/0.7289, allocations: 13.56 kB / 0.9456 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.468e-05/0.729, allocations: 14.91 kB / 0.9456 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.675e-05/0.729, allocations: 11.33 kB / 0.9456 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003387/0.7294, allocations: 237.5 kB / 0.9459 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7294, allocations: 0 / 0.9459 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006209/0.73, allocations: 116.1 kB / 0.946 GB, free: 15.81 MB / 0.7481 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.00189/0.7319, allocations: 1.215 MB / 0.9472 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001734/0.7337, allocations: 0.5637 MB / 0.9477 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7337, allocations: 1.219 kB / 0.9477 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007939/0.7345, allocations: 249.6 kB / 0.948 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005478/0.735, allocations: 74.25 kB / 0.948 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/0.747, allocations: 4.402 MB / 0.9523 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.7474, allocations: 0.7597 MB / 0.9531 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002127/0.7476, allocations: 34.69 kB / 0.9531 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.7477, allocations: 84.92 kB / 0.9532 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of SimCode: time 7.72e-07/0.7478, allocations: 0 / 0.9532 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4875/1.235, allocations: 9.803 MB / 0.9628 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/1.235, allocations: 271.1 kB / 0.963 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.036/3.272, allocations: 5 kB / 0.963 GB, free: 11.21 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)