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.001386/0.001386, 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.001503/0.001503, allocations: 200.2 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.411/1.411, 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.611/1.611, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001533/0.001533, allocations: 79.08 kB / 0.6718 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2123, allocations: 114.5 MB / 0.7837 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.004599/0.2169, allocations: 3.02 MB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5478/0.7648, allocations: 153.4 MB / 0.9364 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003958/0.7652, allocations: 5.469 kB / 0.9364 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003837/0.7656, allocations: 90.08 kB / 0.9365 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008512/0.7665, allocations: 271.5 kB / 0.9368 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002301/0.7688, allocations: 0.9998 MB / 0.9377 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007752/0.7696, allocations: 0.7796 MB / 0.9385 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.7698, allocations: 93.69 kB / 0.9386 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003314/0.7701, allocations: 322.6 kB / 0.9389 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004793/0.7706, allocations: 337.3 kB / 0.9392 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.25e-05/0.7707, allocations: 66.06 kB / 0.9393 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.7721, allocations: 0.7814 MB / 0.94 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.7723, allocations: 151.7 kB / 0.9402 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002997/0.7726, allocations: 290.1 kB / 0.9405 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.7739, allocations: 0.9591 MB / 0.9414 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.7739, allocations: 4 kB / 0.9414 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7739, allocations: 0 / 0.9414 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.7739, allocations: 0.875 kB / 0.9414 GB, free: 2.047 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.002594/0.7765, allocations: 1.052 MB / 0.9424 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.7766, allocations: 10.34 kB / 0.9424 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.59e-05/0.7767, allocations: 61.67 kB / 0.9425 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002316/0.779, allocations: 273.5 kB / 0.9428 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006472/0.7796, allocations: 404.3 kB / 0.9431 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-05/0.7798, allocations: 92.95 kB / 0.9432 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.76e-05/0.7799, allocations: 40.14 kB / 0.9433 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007507/0.7806, allocations: 371.8 kB / 0.9436 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.7806, allocations: 0 / 0.9436 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/0.7807, allocations: 12.59 kB / 0.9436 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.7807, allocations: 9.188 kB / 0.9436 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006861/0.7814, allocations: 255.6 kB / 0.9439 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004124/0.7855, allocations: 1.679 MB / 0.9455 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007918/0.7863, allocations: 252 kB / 0.9458 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004754/0.7868, allocations: 163.7 kB / 0.9459 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.7869, allocations: 4.703 kB / 0.9459 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007171/0.7876, allocations: 296.1 kB / 0.9462 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.803e-06/0.7876, allocations: 4.562 kB / 0.9462 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.007561/0.7952, allocations: 1.495 MB / 0.9477 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.7952, allocations: 88.77 kB / 0.9478 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005575/0.7958, allocations: 456.8 kB / 0.9482 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/0.7959, allocations: 41.77 kB / 0.9482 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.7961, allocations: 200.2 kB / 0.9484 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.408e-05/0.7962, allocations: 96.14 kB / 0.9485 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002527/0.7964, allocations: 155 kB / 0.9487 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.7965, allocations: 361.8 kB / 0.949 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006982/0.7973, allocations: 273.4 kB / 0.9493 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008123/0.7981, allocations: 417.3 kB / 0.9497 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006817/0.8049, allocations: 1.859 MB / 0.9515 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.8049, allocations: 3.938 kB / 0.9515 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.006696/0.8116, allocations: 1.562 MB / 0.953 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.338e-05/0.8117, allocations: 65.55 kB / 0.9531 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.8117, allocations: 1.531 kB / 0.9531 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001547/0.8133, allocations: 389.2 kB / 0.9534 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000486/0.8138, allocations: 95.39 kB / 0.9535 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005326/0.8191, allocations: 4.686 MB / 0.9581 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009621/0.8201, allocations: 103.5 kB / 0.9582 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.724e-05/0.8202, allocations: 37.72 kB / 0.9582 GB, free: 10.26 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.0003078/0.8205, allocations: 180 kB / 0.9584 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.387e-05/0.8206, allocations: 45.48 kB / 0.9585 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.323e-05/0.8207, allocations: 37.62 kB / 0.9585 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.8207, allocations: 7.969 kB / 0.9585 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.8207, allocations: 1.156 kB / 0.9585 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.8207, allocations: 2.531 kB / 0.9585 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005394/0.8212, allocations: 474.2 kB / 0.959 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.8213, allocations: 1.344 kB / 0.959 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.8214, allocations: 30.16 kB / 0.959 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005696/0.822, allocations: 229.6 kB / 0.9592 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.789e-05/0.8221, allocations: 11.98 kB / 0.9592 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001636/0.8237, allocations: 1.492 MB / 0.9607 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.8237, allocations: 0 / 0.9607 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005541/0.8293, allocations: 1.273 MB / 0.9619 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/0.8295, allocations: 158.8 kB / 0.9621 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.713e-05/0.8296, allocations: 10.91 kB / 0.9621 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004237/0.83, allocations: 35.73 kB / 0.9621 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.8301, allocations: 46.34 kB / 0.9622 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.663e-05/0.8302, allocations: 19.77 kB / 0.9622 GB, free: 8.359 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003578/0.8306, allocations: 302.4 kB / 0.9625 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8306, allocations: 0.9688 kB / 0.9625 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006772/0.8313, allocations: 163.2 kB / 0.9626 GB, free: 8.258 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.002964/0.8342, allocations: 1.44 MB / 0.964 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002856/0.8371, allocations: 1.049 MB / 0.9651 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.8371, allocations: 1.031 kB / 0.9651 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001365/0.8385, allocations: 339.7 kB / 0.9654 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005981/0.8391, allocations: 116.2 kB / 0.9655 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01738/0.8565, allocations: 6.504 MB / 0.9718 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.8568, allocations: 0.8071 MB / 0.9726 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003088/0.8571, allocations: 59.05 kB / 0.9727 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.8573, allocations: 141.8 kB / 0.9728 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of SimCode: time 6.11e-07/0.8573, allocations: 0 / 0.9728 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03608/0.8934, allocations: 16.32 MB / 0.9888 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/12.24, allocations: 16.2 kB / 0.9888 GB, free: 11.89 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)