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.00115/0.00115, 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.001049/0.001049, allocations: 196.7 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.322/1.322, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.695/1.695, 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.001424/0.001424, allocations: 75.55 kB / 0.6716 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1948, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.004417/0.1992, allocations: 3.021 MB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5095/0.7088, allocations: 153.4 MB / 0.9362 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002212/0.7091, allocations: 9.094 kB / 0.9362 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002887/0.7093, allocations: 90.94 kB / 0.9363 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006386/0.71, allocations: 274.8 kB / 0.9366 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.7119, allocations: 1.008 MB / 0.9376 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005378/0.7124, allocations: 0.7804 MB / 0.9383 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.7126, allocations: 90.05 kB / 0.9384 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/0.7129, allocations: 318.6 kB / 0.9387 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003888/0.7133, allocations: 335.3 kB / 0.939 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.7134, allocations: 58 kB / 0.9391 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.7146, allocations: 0.7892 MB / 0.9399 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.7148, allocations: 152.5 kB / 0.94 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002732/0.715, allocations: 281.6 kB / 0.9403 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.7161, allocations: 0.9497 MB / 0.9412 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.7161, allocations: 1.312 kB / 0.9412 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7161, allocations: 0 / 0.9412 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.7162, allocations: 0 / 0.9412 GB, free: 1.926 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.002508/0.7187, allocations: 1.059 MB / 0.9422 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.7187, allocations: 9.688 kB / 0.9423 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.868e-05/0.7188, allocations: 58.97 kB / 0.9423 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002471/0.7213, allocations: 272.4 kB / 0.9426 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005176/0.7218, allocations: 401.5 kB / 0.943 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-05/0.7219, allocations: 92.2 kB / 0.943 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.722, allocations: 43.45 kB / 0.9431 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007556/0.7228, allocations: 371.2 kB / 0.9434 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.7228, allocations: 1.344 kB / 0.9434 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.713e-05/0.7228, allocations: 8.938 kB / 0.9434 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.7229, allocations: 11.14 kB / 0.9435 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007359/0.7236, allocations: 254.9 kB / 0.9437 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004362/0.728, allocations: 1.682 MB / 0.9453 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008173/0.7288, allocations: 255.3 kB / 0.9456 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005062/0.7293, allocations: 157.5 kB / 0.9457 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.581e-05/0.7294, allocations: 4.938 kB / 0.9457 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008003/0.7302, allocations: 305 kB / 0.946 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.783e-06/0.7302, allocations: 0 / 0.946 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.008318/0.7385, allocations: 1.493 MB / 0.9475 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.7386, allocations: 87.83 kB / 0.9476 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005927/0.7392, allocations: 455.3 kB / 0.948 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001619/0.7394, allocations: 42.55 kB / 0.948 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.7395, allocations: 206.1 kB / 0.9482 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.977e-05/0.7396, allocations: 98.95 kB / 0.9483 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002607/0.7399, allocations: 153.9 kB / 0.9485 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.74, allocations: 358.1 kB / 0.9488 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007695/0.7408, allocations: 273.6 kB / 0.9491 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008865/0.7417, allocations: 419.3 kB / 0.9495 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007646/0.7493, allocations: 1.861 MB / 0.9513 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.7494, allocations: 0 / 0.9513 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007434/0.7568, allocations: 1.563 MB / 0.9528 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.892e-05/0.7569, allocations: 64.8 kB / 0.9529 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.7569, allocations: 2.719 kB / 0.9529 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001726/0.7587, allocations: 393.4 kB / 0.9533 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005587/0.7592, allocations: 94.53 kB / 0.9534 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005457/0.7647, allocations: 4.683 MB / 0.9579 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.7658, allocations: 100.6 kB / 0.958 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.41e-05/0.7659, allocations: 37.14 kB / 0.9581 GB, free: 10.13 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.000305/0.7662, allocations: 179.4 kB / 0.9582 GB, free: 10 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.961e-05/0.7663, allocations: 45.98 kB / 0.9583 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.744e-05/0.7664, allocations: 42.08 kB / 0.9583 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.7664, allocations: 7.844 kB / 0.9583 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.7664, allocations: 0 / 0.9583 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.7664, allocations: 3.156 kB / 0.9583 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005078/0.7669, allocations: 472.6 kB / 0.9588 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.7669, allocations: 4 kB / 0.9588 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.7671, allocations: 24.5 kB / 0.9588 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006243/0.7678, allocations: 238.6 kB / 0.959 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.62e-05/0.7678, allocations: 11.38 kB / 0.959 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001761/0.7696, allocations: 1.497 MB / 0.9605 GB, free: 8.531 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.7696, allocations: 4.531 kB / 0.9605 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006333/0.7759, allocations: 1.275 MB / 0.9618 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002312/0.7762, allocations: 163.3 kB / 0.9619 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.851e-05/0.7763, allocations: 6.156 kB / 0.9619 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004964/0.7768, allocations: 42.91 kB / 0.962 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.7769, allocations: 43.3 kB / 0.962 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.935e-05/0.777, allocations: 18.84 kB / 0.962 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000365/0.7773, allocations: 299.1 kB / 0.9623 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7773, allocations: 0 / 0.9623 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007356/0.7781, allocations: 160.6 kB / 0.9625 GB, free: 8.117 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.003289/0.7814, allocations: 1.441 MB / 0.9639 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003253/0.7846, allocations: 1.066 MB / 0.9649 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.7847, allocations: 0 / 0.9649 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001538/0.7862, allocations: 335.5 kB / 0.9652 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006613/0.7869, allocations: 110.4 kB / 0.9653 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01923/0.8061, allocations: 6.618 MB / 0.9718 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.8065, allocations: 0.8101 MB / 0.9726 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003489/0.8068, allocations: 48.98 kB / 0.9726 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.807, allocations: 144.2 kB / 0.9728 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of SimCode: time 6.71e-07/0.807, allocations: 0 / 0.9728 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.404/4.211, allocations: 16.28 MB / 0.9887 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.59/19.8, allocations: 10.92 kB / 0.9887 GB, free: 11.65 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)