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.00072/0.00072, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008194/0.0008194, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.681/1.681, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005459/0.0005462, allocations: 16.28 kB / 0.6738 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.221, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.003976/0.225, allocations: 2.578 MB / 0.7899 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5668/0.7918, allocations: 139.4 MB / 0.9261 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002732/0.7922, allocations: 5.625 kB / 0.9261 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002816/0.7924, allocations: 72.72 kB / 0.9261 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006243/0.7931, allocations: 240.8 kB / 0.9264 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00174/0.7948, allocations: 0.7753 MB / 0.9271 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005609/0.7954, allocations: 0.6765 MB / 0.9278 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.7956, allocations: 72.88 kB / 0.9279 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003219/0.7959, allocations: 278.7 kB / 0.9281 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004047/0.7963, allocations: 301 kB / 0.9284 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.896e-05/0.7964, allocations: 32.75 kB / 0.9284 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.7975, allocations: 0.5593 MB / 0.929 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.7976, allocations: 117.5 kB / 0.9291 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003474/0.798, allocations: 112.5 kB / 0.9292 GB, free: 21.32 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008113/0.7988, allocations: 0.6562 MB / 0.9299 GB, free: 21.27 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.7988, allocations: 0.75 kB / 0.9299 GB, free: 21.27 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7988, allocations: 0 / 0.9299 GB, free: 21.27 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.7988, allocations: 2.719 kB / 0.9299 GB, free: 21.27 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.002297/0.8011, allocations: 0.9729 MB / 0.9308 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.8012, allocations: 10.28 kB / 0.9308 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.783e-05/0.8013, allocations: 60.72 kB / 0.9309 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002226/0.8035, allocations: 261.2 kB / 0.9311 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005489/0.8041, allocations: 387.7 kB / 0.9315 GB, free: 20.35 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.446e-05/0.8042, allocations: 98.16 kB / 0.9316 GB, free: 20.29 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.003e-05/0.8043, allocations: 36.66 kB / 0.9316 GB, free: 20.29 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007236/0.805, allocations: 390 kB / 0.932 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.805, allocations: 0 / 0.932 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.173e-05/0.8051, allocations: 11.88 kB / 0.932 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.8051, allocations: 6.031 kB / 0.932 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006273/0.8057, allocations: 280.7 kB / 0.9323 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003716/0.8094, allocations: 1.714 MB / 0.934 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006474/0.8101, allocations: 275.2 kB / 0.9342 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003983/0.8105, allocations: 169.8 kB / 0.9344 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.8106, allocations: 6.344 kB / 0.9344 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000663/0.8112, allocations: 313.5 kB / 0.9347 GB, free: 19.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 2.254e-06/0.8112, allocations: 0 / 0.9347 GB, free: 19.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.007435/0.8187, allocations: 1.563 MB / 0.9362 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.8188, allocations: 84.67 kB / 0.9363 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006497/0.8194, allocations: 451.5 kB / 0.9367 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001468/0.8196, allocations: 42.27 kB / 0.9368 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.8198, allocations: 197.7 kB / 0.9369 GB, free: 18.72 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.249e-05/0.8199, allocations: 101.1 kB / 0.937 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.8199, allocations: 13.22 kB / 0.9371 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.8201, allocations: 363.1 kB / 0.9374 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008152/0.8209, allocations: 284.2 kB / 0.9377 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009475/0.8219, allocations: 432.7 kB / 0.9381 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008993/0.8228, allocations: 347.5 kB / 0.9384 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.8228, allocations: 0.7188 kB / 0.9384 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.006932/0.8297, allocations: 1.61 MB / 0.94 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.668e-05/0.8299, allocations: 64.38 kB / 0.9401 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.8299, allocations: 2.281 kB / 0.9401 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001818/0.8317, allocations: 402.8 kB / 0.9404 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006704/0.8324, allocations: 96.25 kB / 0.9405 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005434/0.8379, allocations: 4.477 MB / 0.9449 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.839, allocations: 103.9 kB / 0.945 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.751e-05/0.8391, allocations: 41.22 kB / 0.945 GB, free: 14.03 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 ($whenCondition4,$whenCondition2,$PRE.evaNor.off,evaNor.off,$PRE.pulNor.T_start,pulNor.T_start,$PRE.pulNor.count,pulNor.count,$whenCondition3,$whenCondition1,$PRE.pulSho.T_start,pulSho.T_start,$PRE.pulSho.count,pulSho.count,$PRE.evaSho.off,evaSho.off,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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {7,7} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003332/0.8395, allocations: 168.9 kB / 0.9452 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.315e-05/0.8396, allocations: 45.61 kB / 0.9452 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.311e-05/0.8396, allocations: 41.69 kB / 0.9453 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.8396, allocations: 3.25 kB / 0.9453 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.8396, allocations: 1 kB / 0.9453 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.8397, allocations: 11.98 kB / 0.9453 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005155/0.8402, allocations: 473.2 kB / 0.9458 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.8402, allocations: 0.9688 kB / 0.9458 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.8404, allocations: 33.92 kB / 0.9458 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005641/0.8409, allocations: 229.3 kB / 0.946 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.841, allocations: 17.78 kB / 0.946 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001679/0.8427, allocations: 1.495 MB / 0.9475 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.8427, allocations: 1.406 kB / 0.9475 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005539/0.8482, allocations: 1.352 MB / 0.9488 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002545/0.8485, allocations: 161.6 kB / 0.949 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.886e-05/0.8486, allocations: 7.156 kB / 0.949 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000439/0.849, allocations: 44.64 kB / 0.949 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.8492, allocations: 49.31 kB / 0.9491 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.829e-05/0.8492, allocations: 23.12 kB / 0.9491 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003962/0.8496, allocations: 296.1 kB / 0.9494 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8496, allocations: 0 / 0.9494 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007772/0.8504, allocations: 154.6 kB / 0.9495 GB, free: 12.05 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {7,7} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003102/0.8535, allocations: 1.485 MB / 0.951 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002934/0.8565, allocations: 1.05 MB / 0.952 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8565, allocations: 4.125 kB / 0.952 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.8578, allocations: 337.8 kB / 0.9523 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006422/0.8585, allocations: 115.7 kB / 0.9524 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.869, allocations: 3.98 MB / 0.9563 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.8695, allocations: 0.8088 MB / 0.9571 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004322/0.8699, allocations: 52.83 kB / 0.9571 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/0.8702, allocations: 143.9 kB / 0.9573 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of SimCode: time 1.824e-06/0.8702, allocations: 0 / 0.9573 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03146/0.9017, allocations: 15.22 MB / 0.9721 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/0.9019, allocations: 247.3 kB / 0.9724 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.37/3.272, allocations: 0 / 0.9724 GB, free: 3.086 MB / 0.7325 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/linux/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) Environment - environmentSimulation: