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.001213/0.001213, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001145/0.001144, allocations: 199.2 kB / 16.14 MB, free: 6.715 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.152/1.152, allocations: 205.1 MB / 222 MB, free: 4.773 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.484/1.484, allocations: 292.3 MB / 0.5484 GB, free: 13.64 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.0013/0.0013, allocations: 68.34 kB / 0.671 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2075, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.004069/0.2115, allocations: 3.051 MB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.4836/0.6952, allocations: 151.1 MB / 0.9334 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.6954, allocations: 5.844 kB / 0.9334 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003245/0.6958, allocations: 69.72 kB / 0.9335 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006439/0.6965, allocations: 246.5 kB / 0.9337 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001901/0.6984, allocations: 0.9228 MB / 0.9346 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005137/0.6989, allocations: 0.7405 MB / 0.9353 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.699, allocations: 87.78 kB / 0.9354 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002666/0.6993, allocations: 297.4 kB / 0.9357 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000393/0.6997, allocations: 321 kB / 0.936 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.16e-05/0.6998, allocations: 34.09 kB / 0.936 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001263/0.7011, allocations: 0.8774 MB / 0.9369 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.7012, allocations: 133.5 kB / 0.937 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002526/0.7015, allocations: 265.2 kB / 0.9373 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.7025, allocations: 0.9613 MB / 0.9382 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.7025, allocations: 1.203 kB / 0.9382 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7025, allocations: 0 / 0.9382 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.7025, allocations: 0 / 0.9382 GB, free: 5.512 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002611/0.7052, allocations: 1.057 MB / 0.9392 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.7052, allocations: 14.88 kB / 0.9392 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.226e-05/0.7053, allocations: 58.95 kB / 0.9393 GB, free: 20.85 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002484/0.7077, allocations: 269.7 kB / 0.9396 GB, free: 20.81 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000561/0.7083, allocations: 402.1 kB / 0.9399 GB, free: 20.56 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.216e-05/0.7084, allocations: 92.91 kB / 0.94 GB, free: 20.5 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.479e-05/0.7085, allocations: 36.69 kB / 0.9401 GB, free: 20.5 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008015/0.7093, allocations: 375.8 kB / 0.9404 GB, free: 20.42 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.7094, allocations: 1.203 kB / 0.9404 GB, free: 20.42 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.635e-05/0.7094, allocations: 10.55 kB / 0.9404 GB, free: 20.42 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.7094, allocations: 9.438 kB / 0.9404 GB, free: 20.42 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000721/0.7101, allocations: 253.2 kB / 0.9407 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004473/0.7146, allocations: 1.685 MB / 0.9423 GB, free: 19.75 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000755/0.7154, allocations: 248.8 kB / 0.9426 GB, free: 19.71 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004633/0.7159, allocations: 165.5 kB / 0.9427 GB, free: 19.71 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.02e-05/0.7159, allocations: 2.625 kB / 0.9427 GB, free: 19.71 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008058/0.7167, allocations: 310.3 kB / 0.943 GB, free: 19.63 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=30): time 1.954e-06/0.7168, allocations: 0 / 0.943 GB, free: 19.63 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.008663/0.7254, allocations: 1.494 MB / 0.9445 GB, free: 19.32 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.7255, allocations: 87.36 kB / 0.9446 GB, free: 19.22 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005899/0.7261, allocations: 451.2 kB / 0.945 GB, free: 19.09 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001757/0.7263, allocations: 41.28 kB / 0.945 GB, free: 19.06 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.7265, allocations: 200.1 kB / 0.9452 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.507e-05/0.7266, allocations: 95.11 kB / 0.9453 GB, free: 18.9 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002755/0.7268, allocations: 162.5 kB / 0.9455 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.727, allocations: 356.5 kB / 0.9458 GB, free: 18.56 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007863/0.7278, allocations: 275.3 kB / 0.9461 GB, free: 18.56 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009957/0.7288, allocations: 420.9 kB / 0.9465 GB, free: 18.49 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007974/0.7368, allocations: 1.852 MB / 0.9483 GB, free: 18.16 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.7368, allocations: 3.562 kB / 0.9483 GB, free: 18.16 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008116/0.7449, allocations: 1.562 MB / 0.9498 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.317e-05/0.745, allocations: 69.28 kB / 0.9499 GB, free: 17.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.7451, allocations: 2.094 kB / 0.9499 GB, free: 17.88 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00192/0.747, allocations: 394.4 kB / 0.9503 GB, free: 17.83 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007001/0.7477, allocations: 95.88 kB / 0.9504 GB, free: 17.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005847/0.7536, allocations: 4.461 MB / 0.9547 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.7548, allocations: 100.7 kB / 0.9548 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.7549, allocations: 38.19 kB / 0.9548 GB, free: 14.01 MB / 0.7481 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.00033/0.7552, allocations: 179.5 kB / 0.955 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.58e-05/0.7553, allocations: 42.47 kB / 0.9551 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.344e-05/0.7554, allocations: 42.52 kB / 0.9551 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.7554, allocations: 3.719 kB / 0.9551 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.7554, allocations: 1.531 kB / 0.9551 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.7554, allocations: 12.48 kB / 0.9551 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004897/0.7559, allocations: 475.1 kB / 0.9556 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.756, allocations: 0 / 0.9556 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.7561, allocations: 32.3 kB / 0.9556 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000606/0.7567, allocations: 228.1 kB / 0.9558 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/0.7568, allocations: 14.19 kB / 0.9558 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/0.7586, allocations: 1.489 MB / 0.9573 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.7586, allocations: 4 kB / 0.9573 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006301/0.7649, allocations: 1.264 MB / 0.9585 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002171/0.7651, allocations: 168.6 kB / 0.9587 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.724e-05/0.7652, allocations: 9.844 kB / 0.9587 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005001/0.7657, allocations: 36.66 kB / 0.9587 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.7659, allocations: 42.59 kB / 0.9588 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/0.7659, allocations: 18.14 kB / 0.9588 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003561/0.7663, allocations: 299.2 kB / 0.9591 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7663, allocations: 0 / 0.9591 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007156/0.767, allocations: 161.6 kB / 0.9592 GB, free: 12.04 MB / 0.7481 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.003297/0.7703, allocations: 1.441 MB / 0.9606 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003184/0.7735, allocations: 1.031 MB / 0.9616 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7735, allocations: 3.031 kB / 0.9616 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001518/0.7751, allocations: 312.8 kB / 0.9619 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006945/0.7758, allocations: 106.2 kB / 0.962 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02085/0.7966, allocations: 6.732 MB / 0.9686 GB, free: 8.727 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.797, allocations: 0.8051 MB / 0.9694 GB, free: 8.027 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004243/0.7975, allocations: 63.84 kB / 0.9695 GB, free: 8.004 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/0.7977, allocations: 142.7 kB / 0.9696 GB, free: 7.996 MB / 0.7481 GB Notification: Performance of SimCode: time 1.242e-06/0.7977, allocations: 0 / 0.9696 GB, free: 7.996 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03002/0.8278, allocations: 15.46 MB / 0.9847 GB, free: 3.613 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002408/0.828, allocations: 272 kB / 0.9849 GB, free: 3.277 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.294/3.122, allocations: 1.094 kB / 0.9849 GB, free: 3.277 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse_fmu --startTime=0 --stopTime=7200 --timeout=50 --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)