Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.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.EvaporationPulse,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse",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.001654/0.001653, allocations: 108 kB / 15.61 MB, free: 152 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.002257/0.002257, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.565/1.565, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.687/1.687, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001524/0.001524, allocations: 71.12 kB / 0.6716 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2392, allocations: 114.6 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.00433/0.2436, allocations: 3.014 MB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6139/0.8575, allocations: 153.4 MB / 0.9362 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004169/0.858, allocations: 2.688 kB / 0.9362 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003751/0.8583, allocations: 94.7 kB / 0.9363 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009726/0.8594, allocations: 274.7 kB / 0.9366 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002722/0.8621, allocations: 0.9998 MB / 0.9376 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000821/0.8629, allocations: 0.7783 MB / 0.9383 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.8631, allocations: 93.84 kB / 0.9384 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003577/0.8635, allocations: 314.5 kB / 0.9387 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004635/0.864, allocations: 340.3 kB / 0.939 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.8641, allocations: 60.88 kB / 0.9391 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001765/0.8659, allocations: 0.7815 MB / 0.9399 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.866, allocations: 152.5 kB / 0.94 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003568/0.8664, allocations: 288.2 kB / 0.9403 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.8681, allocations: 0.9464 MB / 0.9412 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.8681, allocations: 3.938 kB / 0.9412 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8681, allocations: 0 / 0.9412 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.68e-05/0.8682, allocations: 1.062 kB / 0.9412 GB, free: 1.945 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002833/0.871, allocations: 1.059 MB / 0.9422 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.871, allocations: 9.719 kB / 0.9423 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.364e-05/0.8711, allocations: 62.22 kB / 0.9423 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002541/0.8737, allocations: 274 kB / 0.9426 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006636/0.8743, allocations: 398.8 kB / 0.943 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.8745, allocations: 92.3 kB / 0.943 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.8746, allocations: 36.47 kB / 0.9431 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008077/0.8754, allocations: 374.1 kB / 0.9434 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.8754, allocations: 0 / 0.9434 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.8755, allocations: 9.312 kB / 0.9434 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.8755, allocations: 14.34 kB / 0.9435 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007353/0.8762, allocations: 250.5 kB / 0.9437 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004581/0.8808, allocations: 1.683 MB / 0.9453 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008415/0.8817, allocations: 251.2 kB / 0.9456 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005193/0.8822, allocations: 165 kB / 0.9457 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.757e-05/0.8823, allocations: 3 kB / 0.9457 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007976/0.8831, allocations: 308.2 kB / 0.946 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.974e-06/0.8831, allocations: 4 kB / 0.946 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.0088/0.8919, allocations: 1.491 MB / 0.9475 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.311e-05/0.892, allocations: 85.23 kB / 0.9476 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007649/0.8928, allocations: 455.8 kB / 0.948 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001968/0.893, allocations: 44.86 kB / 0.9481 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.8932, allocations: 197.1 kB / 0.9482 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.487e-05/0.8933, allocations: 95.5 kB / 0.9483 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/0.8935, allocations: 157.8 kB / 0.9485 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.8937, allocations: 358.7 kB / 0.9488 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007476/0.8945, allocations: 274.3 kB / 0.9491 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009108/0.8954, allocations: 426 kB / 0.9495 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007645/0.903, allocations: 1.857 MB / 0.9513 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.9031, allocations: 0 / 0.9513 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007389/0.9105, allocations: 1.562 MB / 0.9528 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.416e-05/0.9106, allocations: 69.05 kB / 0.9529 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.9106, allocations: 1.188 kB / 0.9529 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001709/0.9123, allocations: 393.7 kB / 0.9533 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005656/0.9129, allocations: 93.92 kB / 0.9534 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005827/0.9187, allocations: 4.679 MB / 0.9579 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.92, allocations: 103.1 kB / 0.958 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.501e-05/0.9201, allocations: 41.09 kB / 0.9581 GB, free: 10.14 MB / 0.7325 GB Warning: Assuming fixed start value for the following 2 variables: evaNor.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean evaSho.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: 8 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.pulNor.count,$PRE.pulNor.T_start,$PRE.evaNor.off,pulNor.count,pulNor.T_start,evaNor.off,$whenCondition2,$whenCondition4,$PRE.evaSho.off,$PRE.pulSho.count,$PRE.pulSho.T_start,evaSho.off,pulSho.count,pulSho.T_start,$whenCondition1,$whenCondition3,intNor.local_reset,intSho.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {7, 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003736/0.9205, allocations: 177.9 kB / 0.9582 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.9206, allocations: 43.62 kB / 0.9583 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.91e-05/0.9207, allocations: 42.28 kB / 0.9583 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.9207, allocations: 11.69 kB / 0.9583 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.9207, allocations: 0 / 0.9583 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.9207, allocations: 3.703 kB / 0.9583 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006449/0.9214, allocations: 469.2 kB / 0.9588 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.9214, allocations: 5.094 kB / 0.9588 GB, free: 9.773 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.9216, allocations: 29.77 kB / 0.9588 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006528/0.9222, allocations: 225.2 kB / 0.959 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/0.9223, allocations: 11.05 kB / 0.959 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/0.9241, allocations: 1.499 MB / 0.9605 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.9241, allocations: 1.281 kB / 0.9605 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006176/0.9303, allocations: 1.275 MB / 0.9618 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003445/0.9306, allocations: 160.1 kB / 0.9619 GB, free: 8.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.288e-05/0.9307, allocations: 16.78 kB / 0.9619 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004709/0.9312, allocations: 34.98 kB / 0.962 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.9314, allocations: 38.3 kB / 0.962 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.866e-05/0.9314, allocations: 19.73 kB / 0.962 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003975/0.9318, allocations: 299.2 kB / 0.9623 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.82e-07/0.9318, allocations: 0 / 0.9623 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008758/0.9327, allocations: 169.1 kB / 0.9625 GB, free: 8.141 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (evaSho.m,intSho.y,evaNor.m,intNor.y) * Number of discrete variables: 10 ($whenCondition3,$whenCondition1,pulSho.T_start,pulSho.count,evaSho.off,$whenCondition4,$whenCondition2,evaNor.off,pulNor.T_start,pulNor.count) * Number of discrete states: 4 (pulNor.count,evaNor.off,pulSho.count,evaSho.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {7, 7} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00323/0.9359, allocations: 1.434 MB / 0.9639 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003171/0.9391, allocations: 1.065 MB / 0.9649 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.9392, allocations: 1.375 kB / 0.9649 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001569/0.9407, allocations: 327 kB / 0.9652 GB, free: 7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007218/0.9415, allocations: 119.9 kB / 0.9653 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01924/0.9607, allocations: 6.628 MB / 0.9718 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.9611, allocations: 0.8073 MB / 0.9726 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003718/0.9615, allocations: 59.05 kB / 0.9726 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.9617, allocations: 138.6 kB / 0.9728 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/0.9617, allocations: 0 / 0.9728 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04385/1.006, allocations: 16.26 MB / 0.9887 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.79, allocations: 13.11 kB / 0.9887 GB, free: 11.62 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe 2>&1)