Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_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.005966/0.005966, allocations: 101.7 kB / 15.73 MB, free: 6.449 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.001622/0.001622, allocations: 194.3 kB / 16.68 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.237/1.237, allocations: 222.9 MB / 240.4 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.539/2.539, allocations: 482.6 MB / 0.755 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 63.89 kB / 1.083 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2594, allocations: 162.3 MB / 1.242 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.003717/0.2631, allocations: 3.005 MB / 1.245 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6139/0.877, allocations: 153.4 MB / 1.395 GB, free: 0.8438 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000252/0.8773, allocations: 6.875 kB / 1.395 GB, free: 0.8398 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.8776, allocations: 101.2 kB / 1.395 GB, free: 0.7578 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0007645/0.8784, allocations: 280.7 kB / 1.395 GB, free: 0.5352 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.8805, allocations: 1.008 MB / 1.396 GB, free: 15.82 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0007834/0.8813, allocations: 0.7828 MB / 1.397 GB, free: 15.36 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.8815, allocations: 91.78 kB / 1.397 GB, free: 15.3 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003067/0.8818, allocations: 317.1 kB / 1.397 GB, free: 15.13 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004261/0.8822, allocations: 338 kB / 1.397 GB, free: 14.91 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 9.491e-05/0.8823, allocations: 63.38 kB / 1.398 GB, free: 14.9 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.8836, allocations: 0.7867 MB / 1.398 GB, free: 14.52 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.8838, allocations: 154 kB / 1.398 GB, free: 14.39 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0002652/0.884, allocations: 291.1 kB / 1.399 GB, free: 14.18 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.8851, allocations: 0.9669 MB / 1.4 GB, free: 13.54 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.8851, allocations: 0 / 1.4 GB, free: 13.54 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.725e-06/0.8851, allocations: 5.094 kB / 1.4 GB, free: 13.53 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.8851, allocations: 3.938 kB / 1.4 GB, free: 13.53 MB / 1.107 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.002351/0.8875, allocations: 1.075 MB / 1.401 GB, free: 12.68 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.8875, allocations: 9.5 kB / 1.401 GB, free: 12.68 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.399e-05/0.8876, allocations: 59.22 kB / 1.401 GB, free: 12.62 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002252/0.8899, allocations: 273.2 kB / 1.401 GB, free: 12.5 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005872/0.8905, allocations: 402.6 kB / 1.401 GB, free: 12.14 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-05/0.8906, allocations: 91.61 kB / 1.402 GB, free: 12.07 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.092e-05/0.8907, allocations: 42.91 kB / 1.402 GB, free: 12.05 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007412/0.8914, allocations: 371.2 kB / 1.402 GB, free: 11.8 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.8914, allocations: 0 / 1.402 GB, free: 11.8 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/0.8915, allocations: 10.47 kB / 1.402 GB, free: 11.79 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.8915, allocations: 5.969 kB / 1.402 GB, free: 11.79 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006977/0.8922, allocations: 258 kB / 1.402 GB, free: 11.66 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00395/0.8961, allocations: 1.687 MB / 1.404 GB, free: 10.33 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007159/0.8969, allocations: 257 kB / 1.404 GB, free: 10.19 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004381/0.8973, allocations: 155.1 kB / 1.404 GB, free: 10.11 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.8974, allocations: 2.781 kB / 1.404 GB, free: 10.11 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006528/0.898, allocations: 302.5 kB / 1.405 GB, free: 9.902 MB / 1.107 GB Notification: Performance of pre-optimization done (n=30): time 1.462e-06/0.898, allocations: 0 / 1.405 GB, free: 9.902 MB / 1.107 GB Notification: Performance of matching and sorting (n=30): time 0.007484/0.9055, allocations: 1.505 MB / 1.406 GB, free: 9.051 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.9056, allocations: 82.73 kB / 1.406 GB, free: 8.957 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004888/0.9061, allocations: 448.8 kB / 1.406 GB, free: 8.672 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.173e-05/0.9061, allocations: 47 kB / 1.407 GB, free: 8.625 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.9063, allocations: 213.9 kB / 1.407 GB, free: 8.434 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 8.58e-05/0.9064, allocations: 99.45 kB / 1.407 GB, free: 8.348 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002581/0.9067, allocations: 158.5 kB / 1.407 GB, free: 8.25 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.9068, allocations: 357.5 kB / 1.407 GB, free: 7.902 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007359/0.9076, allocations: 277.4 kB / 1.408 GB, free: 7.77 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008757/0.9085, allocations: 423 kB / 1.408 GB, free: 7.508 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007112/0.9156, allocations: 1.853 MB / 1.41 GB, free: 6.465 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.9156, allocations: 5.25 kB / 1.41 GB, free: 6.461 MB / 1.107 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.006792/0.9224, allocations: 1.573 MB / 1.411 GB, free: 5.625 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.358e-05/0.9224, allocations: 59.5 kB / 1.411 GB, free: 5.562 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.9225, allocations: 6.406 kB / 1.411 GB, free: 5.559 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0016/0.9241, allocations: 400.4 kB / 1.412 GB, free: 5.348 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004537/0.9245, allocations: 91.23 kB / 1.412 GB, free: 5.32 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005312/0.9298, allocations: 4.673 MB / 1.416 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007861/0.9306, allocations: 105 kB / 1.417 GB, free: 0.7383 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.953e-05/0.9307, allocations: 38.33 kB / 1.417 GB, free: 0.7227 MB / 1.107 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.0002249/0.931, allocations: 168.2 kB / 1.417 GB, free: 0.5742 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.605e-05/0.931, allocations: 51.14 kB / 1.417 GB, free: 0.543 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.627e-05/0.9311, allocations: 41.36 kB / 1.417 GB, free: 0.5156 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.9311, allocations: 7.156 kB / 1.417 GB, free: 0.5117 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.9311, allocations: 3.938 kB / 1.417 GB, free: 0.5078 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.9311, allocations: 5.641 kB / 1.417 GB, free: 0.5039 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004911/0.9316, allocations: 472.6 kB / 1.417 GB, free: 104 kB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.9317, allocations: 5.25 kB / 1.417 GB, free: 100 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.9318, allocations: 32.75 kB / 1.417 GB, free: 84 kB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005779/0.9324, allocations: 227.2 kB / 1.418 GB, free: 15.96 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.9324, allocations: 11.45 kB / 1.418 GB, free: 15.95 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/0.9341, allocations: 1.49 MB / 1.419 GB, free: 14.6 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.9342, allocations: 4.875 kB / 1.419 GB, free: 14.59 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005643/0.9398, allocations: 1.285 MB / 1.42 GB, free: 13.91 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.94, allocations: 169 kB / 1.42 GB, free: 13.74 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.079e-05/0.9401, allocations: 12.72 kB / 1.42 GB, free: 13.73 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004218/0.9405, allocations: 37.11 kB / 1.42 GB, free: 13.72 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.9406, allocations: 39.75 kB / 1.421 GB, free: 13.7 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/0.9407, allocations: 15.73 kB / 1.421 GB, free: 13.69 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0003108/0.941, allocations: 301 kB / 1.421 GB, free: 13.5 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.6e-07/0.941, allocations: 4 kB / 1.421 GB, free: 13.5 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004343/0.9414, allocations: 157.6 kB / 1.421 GB, free: 13.48 MB / 1.123 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.002978/0.9444, allocations: 1.45 MB / 1.422 GB, free: 12.43 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002763/0.9472, allocations: 1.04 MB / 1.423 GB, free: 11.73 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.9472, allocations: 1.344 kB / 1.423 GB, free: 11.73 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001355/0.9486, allocations: 334.2 kB / 1.424 GB, free: 11.56 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005259/0.9491, allocations: 117.1 kB / 1.424 GB, free: 11.48 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01798/0.9671, allocations: 6.559 MB / 1.43 GB, free: 5.141 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.9675, allocations: 0.8035 MB / 1.431 GB, free: 4.309 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001997/0.9677, allocations: 55.34 kB / 1.431 GB, free: 4.254 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.9679, allocations: 147.4 kB / 1.431 GB, free: 4.109 MB / 1.123 GB Notification: Performance of SimCode: time 2.5e-07/0.9679, allocations: 0 / 1.431 GB, free: 4.109 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.333/6.3, allocations: 16.42 MB / 1.447 GB, free: 3.977 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.2/25.5, allocations: 14.48 kB / 1.447 GB, free: 3.965 MB / 1.139 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse_fmu --startTime=0 --stopTime=7200 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1)