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.00119/0.001194, 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.001219/0.001219, allocations: 196.8 kB / 16.64 MB, free: 6.449 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.378/1.378, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.622/1.622, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001318/0.001318, allocations: 73.47 kB / 0.6718 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2185, allocations: 114.6 MB / 0.7837 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.004432/0.223, allocations: 3.021 MB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5707/0.7938, allocations: 153.4 MB / 0.9364 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004422/0.7943, allocations: 2.719 kB / 0.9364 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003723/0.7947, allocations: 89.61 kB / 0.9365 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009024/0.7956, allocations: 270 kB / 0.9368 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002356/0.798, allocations: 1.008 MB / 0.9377 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008492/0.7988, allocations: 0.7816 MB / 0.9385 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.799, allocations: 94.92 kB / 0.9386 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003862/0.7994, allocations: 318 kB / 0.9389 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004959/0.7999, allocations: 336.5 kB / 0.9392 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.8, allocations: 63.58 kB / 0.9393 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.8016, allocations: 0.7803 MB / 0.94 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.8017, allocations: 156.5 kB / 0.9402 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003525/0.8021, allocations: 284.5 kB / 0.9405 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001801/0.8039, allocations: 0.9597 MB / 0.9414 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.8039, allocations: 0.9688 kB / 0.9414 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.023e-06/0.8039, allocations: 0 / 0.9414 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.804, allocations: 0 / 0.9414 GB, free: 2.055 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.003037/0.807, allocations: 1.059 MB / 0.9424 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.8071, allocations: 9.75 kB / 0.9424 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.042e-05/0.8071, allocations: 61.91 kB / 0.9425 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002501/0.8097, allocations: 268.6 kB / 0.9428 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008863/0.8106, allocations: 404.4 kB / 0.9431 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.8107, allocations: 91.67 kB / 0.9432 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.8108, allocations: 44.31 kB / 0.9433 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008211/0.8117, allocations: 368.7 kB / 0.9436 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.8117, allocations: 0 / 0.9436 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.683e-05/0.8117, allocations: 13.5 kB / 0.9436 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.8117, allocations: 11.47 kB / 0.9436 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007174/0.8125, allocations: 251.2 kB / 0.9439 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004716/0.8172, allocations: 1.682 MB / 0.9455 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008707/0.8181, allocations: 250.5 kB / 0.9458 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005013/0.8186, allocations: 163.2 kB / 0.9459 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.463e-05/0.8187, allocations: 2.969 kB / 0.9459 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007725/0.8195, allocations: 311.6 kB / 0.9462 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.964e-06/0.8195, allocations: 4.5 kB / 0.9462 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.008231/0.8277, allocations: 1.493 MB / 0.9477 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.8278, allocations: 82.95 kB / 0.9478 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006246/0.8284, allocations: 451 kB / 0.9482 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002469/0.8287, allocations: 42.33 kB / 0.9482 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.8289, allocations: 203 kB / 0.9484 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.757e-05/0.829, allocations: 98.02 kB / 0.9485 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002867/0.8293, allocations: 154.7 kB / 0.9487 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.8295, allocations: 360.4 kB / 0.949 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000762/0.8302, allocations: 274.8 kB / 0.9493 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008491/0.8311, allocations: 425 kB / 0.9497 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007516/0.8386, allocations: 1.849 MB / 0.9515 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.8387, allocations: 0 / 0.9515 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007303/0.846, allocations: 1.563 MB / 0.953 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.587e-05/0.8461, allocations: 68.5 kB / 0.9531 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.8461, allocations: 6.062 kB / 0.9531 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001692/0.8478, allocations: 395.9 kB / 0.9535 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005636/0.8484, allocations: 92.11 kB / 0.9535 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005473/0.8539, allocations: 4.673 MB / 0.9581 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.855, allocations: 103.5 kB / 0.9582 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.673e-05/0.8551, allocations: 40.05 kB / 0.9582 GB, free: 10.27 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.0003032/0.8554, allocations: 168.2 kB / 0.9584 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.8555, allocations: 42.88 kB / 0.9585 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.803e-05/0.8556, allocations: 49.02 kB / 0.9585 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.8556, allocations: 7.75 kB / 0.9585 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.8556, allocations: 0.9688 kB / 0.9585 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.8556, allocations: 2.625 kB / 0.9585 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005276/0.8562, allocations: 471.2 kB / 0.959 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.8562, allocations: 6.297 kB / 0.959 GB, free: 9.898 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.8564, allocations: 27.94 kB / 0.959 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005652/0.8569, allocations: 226 kB / 0.9592 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-05/0.857, allocations: 15.77 kB / 0.9592 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001709/0.8587, allocations: 1.502 MB / 0.9607 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.8587, allocations: 1.125 kB / 0.9607 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005945/0.8647, allocations: 1.267 MB / 0.9619 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002722/0.865, allocations: 166 kB / 0.9621 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.967e-05/0.8651, allocations: 9.219 kB / 0.9621 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004617/0.8655, allocations: 36.23 kB / 0.9621 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.8657, allocations: 40.58 kB / 0.9622 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.962e-05/0.8657, allocations: 18.53 kB / 0.9622 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003641/0.8661, allocations: 297.9 kB / 0.9625 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8661, allocations: 5.031 kB / 0.9625 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000709/0.8668, allocations: 164.1 kB / 0.9626 GB, free: 8.266 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.003193/0.87, allocations: 1.432 MB / 0.964 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003147/0.8732, allocations: 1.056 MB / 0.9651 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.8732, allocations: 0 / 0.9651 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001468/0.8747, allocations: 332.1 kB / 0.9654 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007361/0.8754, allocations: 114.3 kB / 0.9655 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01951/0.895, allocations: 6.516 MB / 0.9718 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.8954, allocations: 0.805 MB / 0.9726 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004633/0.8959, allocations: 54.38 kB / 0.9727 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.8961, allocations: 142.9 kB / 0.9728 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of SimCode: time 7.12e-07/0.8961, allocations: 0 / 0.9728 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04062/0.9367, allocations: 16.31 MB / 0.9888 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.9, allocations: 12.03 kB / 0.9888 GB, free: 11.87 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)