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.001373/0.001373, allocations: 105.4 kB / 15.7 MB, free: 24 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.001477/0.001477, allocations: 199.5 kB / 16.64 MB, free: 6.453 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.337/1.337, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.673/1.673, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001384/0.001384, allocations: 76.17 kB / 0.6718 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2243, allocations: 114.5 MB / 0.7837 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.003692/0.2281, allocations: 2.402 MB / 0.786 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6095/0.8376, allocations: 150.9 MB / 0.9334 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000271/0.8379, allocations: 3.938 kB / 0.9334 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004056/0.8384, allocations: 92.92 kB / 0.9335 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007771/0.8392, allocations: 231.1 kB / 0.9337 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.8408, allocations: 0.6534 MB / 0.9344 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005006/0.8413, allocations: 443.8 kB / 0.9348 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.8414, allocations: 42.27 kB / 0.9348 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.8416, allocations: 179.8 kB / 0.935 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000319/0.842, allocations: 206.1 kB / 0.9352 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.658e-05/0.842, allocations: 28.91 kB / 0.9352 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.8432, allocations: 0.6171 MB / 0.9358 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.8434, allocations: 84.41 kB / 0.9359 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.8436, allocations: 165.8 kB / 0.9361 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009088/0.8445, allocations: 0.6544 MB / 0.9367 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.8445, allocations: 0 / 0.9367 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8445, allocations: 0 / 0.9367 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.8445, allocations: 0 / 0.9367 GB, free: 2.512 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.00151/0.846, allocations: 0.741 MB / 0.9374 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.8461, allocations: 9.75 kB / 0.9374 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.609e-05/0.8462, allocations: 46.73 kB / 0.9375 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/0.8476, allocations: 158.9 kB / 0.9376 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005611/0.8482, allocations: 320.5 kB / 0.9379 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.947e-05/0.8483, allocations: 48.12 kB / 0.938 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.806e-05/0.8483, allocations: 21.69 kB / 0.938 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.8487, allocations: 214.3 kB / 0.9382 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.8487, allocations: 0 / 0.9382 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.8488, allocations: 6.516 kB / 0.9382 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.8488, allocations: 4.312 kB / 0.9382 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002505/0.849, allocations: 125.7 kB / 0.9383 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.8513, allocations: 0.9945 MB / 0.9393 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007632/0.8521, allocations: 163.7 kB / 0.9395 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.8523, allocations: 96.83 kB / 0.9396 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.8523, allocations: 0.9375 kB / 0.9396 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003701/0.8527, allocations: 195.3 kB / 0.9397 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 2.104e-06/0.8527, allocations: 0 / 0.9397 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.003877/0.8566, allocations: 0.8541 MB / 0.9406 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.8567, allocations: 88.92 kB / 0.9407 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004341/0.8571, allocations: 338.2 kB / 0.941 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.678e-05/0.8572, allocations: 31.61 kB / 0.941 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.8573, allocations: 155.5 kB / 0.9412 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.8574, allocations: 52.02 kB / 0.9412 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.8575, allocations: 83.06 kB / 0.9413 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.8576, allocations: 344.6 kB / 0.9416 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003312/0.858, allocations: 146.6 kB / 0.9418 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000381/0.8584, allocations: 220.1 kB / 0.942 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005893/0.859, allocations: 333.3 kB / 0.9423 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.859, allocations: 1.5 kB / 0.9423 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003425/0.8624, allocations: 0.8519 MB / 0.9431 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.586e-05/0.8625, allocations: 35.97 kB / 0.9432 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.8625, allocations: 1.125 kB / 0.9432 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009326/0.8634, allocations: 202.2 kB / 0.9434 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.8637, allocations: 43.55 kB / 0.9434 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003061/0.8668, allocations: 2.343 MB / 0.9457 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004988/0.8673, allocations: 48.33 kB / 0.9457 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.635e-05/0.8674, allocations: 18.8 kB / 0.9457 GB, free: 13.69 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.0003005/0.8677, allocations: 192.2 kB / 0.9459 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.554e-05/0.8678, allocations: 34.38 kB / 0.946 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.257e-05/0.8679, allocations: 26.02 kB / 0.946 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.8679, allocations: 1.656 kB / 0.946 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.8679, allocations: 4.438 kB / 0.946 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.8679, allocations: 3.016 kB / 0.946 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003237/0.8711, allocations: 1.037 MB / 0.947 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.8712, allocations: 1.406 kB / 0.947 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.532e-05/0.8712, allocations: 12 kB / 0.947 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002978/0.8715, allocations: 115.5 kB / 0.9471 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.8716, allocations: 12.38 kB / 0.9471 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000881/0.8724, allocations: 0.7438 MB / 0.9479 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8725, allocations: 0 / 0.9479 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0029/0.8754, allocations: 0.8721 MB / 0.9487 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.8756, allocations: 134 kB / 0.9488 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.603e-05/0.8756, allocations: 7.75 kB / 0.9489 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.8759, allocations: 12.58 kB / 0.9489 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.8759, allocations: 9.5 kB / 0.9489 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.876, allocations: 13.36 kB / 0.9489 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003004/0.8763, allocations: 239.7 kB / 0.9491 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8763, allocations: 1.188 kB / 0.9491 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005881/0.8769, allocations: 109.9 kB / 0.9492 GB, free: 12.1 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.001737/0.8786, allocations: 1.23 MB / 0.9504 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001833/0.8805, allocations: 0.5708 MB / 0.951 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.8805, allocations: 3.938 kB / 0.951 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007791/0.8813, allocations: 252.4 kB / 0.9512 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005627/0.8819, allocations: 72.11 kB / 0.9513 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.8926, allocations: 4.321 MB / 0.9555 GB, free: 9.422 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.8929, allocations: 0.7557 MB / 0.9563 GB, free: 8.727 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001747/0.8931, allocations: 33.41 kB / 0.9563 GB, free: 8.715 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.8932, allocations: 85.17 kB / 0.9564 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of SimCode: time 6.21e-07/0.8932, allocations: 0 / 0.9564 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0306/0.9238, allocations: 10.27 MB / 0.9664 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.61, allocations: 10.62 kB / 0.9664 GB, free: 5.895 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)