Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,fileNamePrefix="Buildings_11_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.005254/0.005254, allocations: 98.36 kB / 15.73 MB, free: 6.062 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.001391/0.001391, allocations: 199.8 kB / 16.68 MB, free: 5.977 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.509/2.509, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002939/0.00294, allocations: 59.91 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.251, allocations: 159.1 MB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.003629/0.2546, allocations: 3.003 MB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6051/0.8597, allocations: 153.4 MB / 1.373 GB, free: 10.64 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.8599, allocations: 3.281 kB / 1.373 GB, free: 10.64 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.8602, allocations: 96.45 kB / 1.373 GB, free: 10.58 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0005633/0.8608, allocations: 272.2 kB / 1.373 GB, free: 10.41 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.8625, allocations: 1.009 MB / 1.374 GB, free: 9.914 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000656/0.8632, allocations: 0.787 MB / 1.375 GB, free: 9.547 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.8633, allocations: 88.11 kB / 1.375 GB, free: 9.504 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002908/0.8636, allocations: 327.5 kB / 1.375 GB, free: 9.371 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003882/0.864, allocations: 326.8 kB / 1.376 GB, free: 9.234 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.164e-05/0.8641, allocations: 60.56 kB / 1.376 GB, free: 9.234 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.8653, allocations: 0.7901 MB / 1.377 GB, free: 8.969 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.8654, allocations: 152.7 kB / 1.377 GB, free: 8.879 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002572/0.8657, allocations: 288.5 kB / 1.377 GB, free: 8.715 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.8667, allocations: 0.9684 MB / 1.378 GB, free: 8.262 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.8668, allocations: 3.938 kB / 1.378 GB, free: 8.258 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8668, allocations: 4 kB / 1.378 GB, free: 8.254 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.8668, allocations: 0 / 1.378 GB, free: 8.254 MB / 1.076 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.002289/0.8691, allocations: 1.079 MB / 1.379 GB, free: 7.402 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.785e-05/0.8691, allocations: 9.25 kB / 1.379 GB, free: 7.402 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.147e-05/0.8692, allocations: 66.97 kB / 1.379 GB, free: 7.336 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002242/0.8714, allocations: 265 kB / 1.379 GB, free: 7.227 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005869/0.872, allocations: 414.7 kB / 1.38 GB, free: 6.852 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.738e-05/0.8721, allocations: 88.34 kB / 1.38 GB, free: 6.777 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.16e-05/0.8722, allocations: 42.58 kB / 1.38 GB, free: 6.762 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007404/0.873, allocations: 371.3 kB / 1.38 GB, free: 6.508 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.873, allocations: 0 / 1.38 GB, free: 6.508 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.343e-05/0.873, allocations: 10.47 kB / 1.38 GB, free: 6.5 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.873, allocations: 6.031 kB / 1.38 GB, free: 6.5 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000687/0.8737, allocations: 257.4 kB / 1.38 GB, free: 6.375 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003951/0.8777, allocations: 1.695 MB / 1.382 GB, free: 5.031 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007152/0.8784, allocations: 253.2 kB / 1.382 GB, free: 4.895 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004316/0.8789, allocations: 162.8 kB / 1.383 GB, free: 4.809 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.8789, allocations: 2.531 kB / 1.383 GB, free: 4.809 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000631/0.8795, allocations: 302.2 kB / 1.383 GB, free: 4.602 MB / 1.076 GB Notification: Performance of pre-optimization done (n=30): time 1.493e-06/0.8795, allocations: 5.094 kB / 1.383 GB, free: 4.598 MB / 1.076 GB Notification: Performance of matching and sorting (n=30): time 0.007415/0.887, allocations: 1.5 MB / 1.384 GB, free: 3.754 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.887, allocations: 89.09 kB / 1.384 GB, free: 3.652 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004934/0.8875, allocations: 462.3 kB / 1.385 GB, free: 3.355 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.068e-05/0.8876, allocations: 42.75 kB / 1.385 GB, free: 3.312 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.8878, allocations: 197.4 kB / 1.385 GB, free: 3.137 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.85e-05/0.8879, allocations: 100.2 kB / 1.385 GB, free: 3.051 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/0.8881, allocations: 154 kB / 1.385 GB, free: 2.957 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.8883, allocations: 356.5 kB / 1.386 GB, free: 2.609 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007227/0.889, allocations: 275.1 kB / 1.386 GB, free: 2.473 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008686/0.8899, allocations: 422.5 kB / 1.386 GB, free: 2.215 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007056/0.8969, allocations: 1.856 MB / 1.388 GB, free: 1.164 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.897, allocations: 1.312 kB / 1.388 GB, free: 1.164 MB / 1.076 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00674/0.9037, allocations: 1.579 MB / 1.39 GB, free: 332 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.716e-05/0.9038, allocations: 62.23 kB / 1.39 GB, free: 264 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.9038, allocations: 1.188 kB / 1.39 GB, free: 264 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001592/0.9054, allocations: 401.6 kB / 1.39 GB, free: 48 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004657/0.9058, allocations: 91.02 kB / 1.39 GB, free: 20 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005407/0.9113, allocations: 4.695 MB / 1.395 GB, free: 11.49 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008164/0.9121, allocations: 100.9 kB / 1.395 GB, free: 11.43 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.841e-05/0.9122, allocations: 38 kB / 1.395 GB, free: 11.41 MB / 1.092 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.0002343/0.9124, allocations: 166.3 kB / 1.395 GB, free: 11.26 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.885e-05/0.9125, allocations: 51.08 kB / 1.395 GB, free: 11.23 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.277e-05/0.9126, allocations: 40.77 kB / 1.395 GB, free: 11.2 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.9126, allocations: 4.125 kB / 1.395 GB, free: 11.2 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.9126, allocations: 5.156 kB / 1.395 GB, free: 11.2 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.9126, allocations: 7.969 kB / 1.395 GB, free: 11.19 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005273/0.9131, allocations: 474.1 kB / 1.396 GB, free: 10.79 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.9131, allocations: 0 / 1.396 GB, free: 10.79 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.9133, allocations: 28.84 kB / 1.396 GB, free: 10.78 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005753/0.9139, allocations: 231.4 kB / 1.396 GB, free: 10.65 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.641e-05/0.9139, allocations: 11.7 kB / 1.396 GB, free: 10.64 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001704/0.9157, allocations: 1.491 MB / 1.397 GB, free: 9.289 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.9157, allocations: 0 / 1.397 GB, free: 9.289 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005678/0.9213, allocations: 1.291 MB / 1.399 GB, free: 8.598 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.9215, allocations: 161.7 kB / 1.399 GB, free: 8.438 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.237e-05/0.9216, allocations: 6.75 kB / 1.399 GB, free: 8.434 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004407/0.9221, allocations: 36.48 kB / 1.399 GB, free: 8.418 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.9222, allocations: 44.06 kB / 1.399 GB, free: 8.391 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.9222, allocations: 16.95 kB / 1.399 GB, free: 8.383 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003338/0.9226, allocations: 301.6 kB / 1.399 GB, free: 8.195 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9226, allocations: 0 / 1.399 GB, free: 8.195 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004659/0.923, allocations: 161.3 kB / 1.399 GB, free: 8.168 MB / 1.092 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.003002/0.926, allocations: 1.437 MB / 1.401 GB, free: 7.129 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002792/0.9289, allocations: 1.044 MB / 1.402 GB, free: 6.422 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.9289, allocations: 1.219 kB / 1.402 GB, free: 6.422 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0014/0.9303, allocations: 336.2 kB / 1.402 GB, free: 6.254 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005253/0.9308, allocations: 115.9 kB / 1.402 GB, free: 6.184 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01736/0.9482, allocations: 6.556 MB / 1.409 GB, free: 2.105 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.9485, allocations: 0.8103 MB / 1.409 GB, free: 1.348 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002091/0.9487, allocations: 55.72 kB / 1.409 GB, free: 1.32 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/0.9489, allocations: 138 kB / 1.41 GB, free: 1.207 MB / 1.092 GB Notification: Performance of SimCode: time 2.21e-07/0.949, allocations: 0 / 1.41 GB, free: 1.207 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.166/8.115, allocations: 16.42 MB / 1.426 GB, free: 2.465 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.03/27.14, allocations: 10.02 kB / 1.426 GB, free: 2.457 MB / 1.107 GB (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse_fmu --startTime=0 --stopTime=7200 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1)