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.001555/0.001555, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.264/1.264, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.518/1.518, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001618/0.001618, allocations: 69.69 kB / 0.6716 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1705, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.003121/0.1737, allocations: 2.398 MB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.4428/0.6164, allocations: 150.9 MB / 0.9332 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.6166, allocations: 3.938 kB / 0.9332 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.6169, allocations: 89.62 kB / 0.9333 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004349/0.6174, allocations: 242.2 kB / 0.9336 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.6184, allocations: 0.6499 MB / 0.9342 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000277/0.6187, allocations: 428.6 kB / 0.9346 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.94e-05/0.6188, allocations: 51.2 kB / 0.9347 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.6189, allocations: 184.7 kB / 0.9348 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.6192, allocations: 194.1 kB / 0.935 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.013e-05/0.6192, allocations: 38.78 kB / 0.935 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008381/0.6201, allocations: 0.613 MB / 0.9356 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.275e-05/0.6202, allocations: 90.88 kB / 0.9357 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.6203, allocations: 157.4 kB / 0.9359 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006237/0.6209, allocations: 0.6453 MB / 0.9365 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.6209, allocations: 0 / 0.9365 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.621, allocations: 0 / 0.9365 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.621, allocations: 3.938 kB / 0.9365 GB, free: 2.344 MB / 0.7169 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.001296/0.6223, allocations: 0.7424 MB / 0.9372 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.6223, allocations: 9.781 kB / 0.9373 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.346e-05/0.6223, allocations: 47.19 kB / 0.9373 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/0.6238, allocations: 159.5 kB / 0.9375 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.6241, allocations: 321.9 kB / 0.9378 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.965e-05/0.6242, allocations: 42.17 kB / 0.9378 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.11e-05/0.6242, allocations: 21.62 kB / 0.9378 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003152/0.6245, allocations: 210.2 kB / 0.938 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.6246, allocations: 0 / 0.938 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.6246, allocations: 5.719 kB / 0.938 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.6246, allocations: 2.531 kB / 0.938 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002195/0.6248, allocations: 125.9 kB / 0.9381 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.6269, allocations: 1.001 MB / 0.9391 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000711/0.6277, allocations: 165.7 kB / 0.9393 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.6279, allocations: 102.7 kB / 0.9394 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.6279, allocations: 1.719 kB / 0.9394 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003322/0.6282, allocations: 184.5 kB / 0.9396 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 1.343e-06/0.6282, allocations: 0.9375 kB / 0.9396 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.003701/0.632, allocations: 0.8617 MB / 0.9404 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.632, allocations: 82.95 kB / 0.9405 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.6323, allocations: 336.3 kB / 0.9408 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.203e-05/0.6324, allocations: 37.38 kB / 0.9408 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.347e-05/0.6325, allocations: 157.1 kB / 0.941 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.6325, allocations: 56.55 kB / 0.941 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.6327, allocations: 81.06 kB / 0.9411 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.444e-05/0.6328, allocations: 347 kB / 0.9414 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/0.6331, allocations: 136.3 kB / 0.9416 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/0.6335, allocations: 223 kB / 0.9418 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005393/0.634, allocations: 333.9 kB / 0.9421 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.634, allocations: 0 / 0.9421 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003318/0.6373, allocations: 0.8524 MB / 0.9429 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.129e-05/0.6374, allocations: 39.77 kB / 0.943 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.6374, allocations: 5.062 kB / 0.943 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008564/0.6383, allocations: 197.7 kB / 0.9432 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.6385, allocations: 41.73 kB / 0.9432 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002544/0.641, allocations: 2.339 MB / 0.9455 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003993/0.6415, allocations: 50.31 kB / 0.9455 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.703e-05/0.6415, allocations: 20.42 kB / 0.9456 GB, free: 13.52 MB / 0.7325 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.000188/0.6417, allocations: 186.4 kB / 0.9457 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.103e-05/0.6418, allocations: 32.75 kB / 0.9458 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.599e-05/0.6418, allocations: 27.66 kB / 0.9458 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.6418, allocations: 2.594 kB / 0.9458 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.6418, allocations: 11.88 kB / 0.9458 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.6418, allocations: 4.219 kB / 0.9458 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002956/0.6448, allocations: 1.04 MB / 0.9468 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.6448, allocations: 4 kB / 0.9468 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.335e-05/0.6449, allocations: 9.031 kB / 0.9468 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002628/0.6451, allocations: 113.4 kB / 0.947 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.6452, allocations: 14.67 kB / 0.947 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007555/0.6459, allocations: 0.7419 MB / 0.9477 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6459, allocations: 0 / 0.9477 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002755/0.6487, allocations: 0.8754 MB / 0.9485 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.6488, allocations: 141.2 kB / 0.9487 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.173e-05/0.6489, allocations: 7.641 kB / 0.9487 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.6491, allocations: 9.594 kB / 0.9487 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.6492, allocations: 12.94 kB / 0.9487 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.6492, allocations: 8.5 kB / 0.9487 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002341/0.6494, allocations: 239.2 kB / 0.9489 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6495, allocations: 0 / 0.9489 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004038/0.6499, allocations: 111.6 kB / 0.9491 GB, free: 11.92 MB / 0.7325 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.00131/0.6512, allocations: 1.221 MB / 0.9502 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001331/0.6525, allocations: 0.5697 MB / 0.9508 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.6525, allocations: 5.125 kB / 0.9508 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006655/0.6532, allocations: 254.7 kB / 0.951 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.6536, allocations: 70.62 kB / 0.9511 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009337/0.663, allocations: 4.348 MB / 0.9554 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.6632, allocations: 0.7611 MB / 0.9561 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001262/0.6634, allocations: 32.12 kB / 0.9561 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.763e-05/0.6635, allocations: 82.45 kB / 0.9562 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.6635, allocations: 1.094 kB / 0.9562 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.761/2.424, allocations: 10.23 MB / 0.9662 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/16.09, allocations: 9.5 kB / 0.9662 GB, free: 5.73 MB / 0.7325 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)