Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,fileNamePrefix="Buildings_10_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.007073/0.007073, allocations: 97.03 kB / 15.73 MB, free: 6.484 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.002056/0.002056, allocations: 192 kB / 16.67 MB, free: 6.391 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.223/1.223, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.287/2.287, allocations: 437.1 MB / 0.7106 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 67.89 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2371, allocations: 151.6 MB / 1.166 GB, free: 7.238 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.003703/0.2408, allocations: 3.005 MB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.5858/0.8266, allocations: 153.4 MB / 1.319 GB, free: 10.58 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002744/0.8269, allocations: 2.281 kB / 1.319 GB, free: 10.58 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003085/0.8272, allocations: 87.67 kB / 1.319 GB, free: 10.53 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0008151/0.8281, allocations: 286.9 kB / 1.319 GB, free: 10.37 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002238/0.8303, allocations: 1.007 MB / 1.32 GB, free: 10.07 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0008577/0.8312, allocations: 0.7851 MB / 1.321 GB, free: 9.93 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.8313, allocations: 84.59 kB / 1.321 GB, free: 9.91 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002904/0.8316, allocations: 324 kB / 1.321 GB, free: 9.852 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004045/0.832, allocations: 335.2 kB / 1.322 GB, free: 9.785 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.83e-05/0.8321, allocations: 60.66 kB / 1.322 GB, free: 9.785 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001292/0.8334, allocations: 0.786 MB / 1.323 GB, free: 9.656 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.8336, allocations: 154.6 kB / 1.323 GB, free: 9.621 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002712/0.8339, allocations: 292.6 kB / 1.323 GB, free: 9.453 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.835, allocations: 0.9729 MB / 1.324 GB, free: 9.105 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.835, allocations: 1.844 kB / 1.324 GB, free: 9.105 MB / 1.014 GB Notification: Performance of FrontEnd: time 9.42e-07/0.835, allocations: 0 / 1.324 GB, free: 9.105 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.835, allocations: 0 / 1.324 GB, free: 9.105 MB / 1.014 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.002347/0.8374, allocations: 1.089 MB / 1.325 GB, free: 8.371 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.8374, allocations: 10.34 kB / 1.325 GB, free: 8.371 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.299e-05/0.8375, allocations: 56.83 kB / 1.325 GB, free: 8.32 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002247/0.8397, allocations: 269 kB / 1.325 GB, free: 8.277 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005539/0.8403, allocations: 407 kB / 1.326 GB, free: 7.961 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.891e-05/0.8404, allocations: 101.3 kB / 1.326 GB, free: 7.875 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-05/0.8405, allocations: 35.91 kB / 1.326 GB, free: 7.867 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007474/0.8413, allocations: 371.3 kB / 1.326 GB, free: 7.695 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.8413, allocations: 1.25 kB / 1.326 GB, free: 7.695 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.246e-05/0.8413, allocations: 7.828 kB / 1.326 GB, free: 7.691 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.8413, allocations: 5.406 kB / 1.326 GB, free: 7.691 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000696/0.842, allocations: 260.9 kB / 1.327 GB, free: 7.613 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003881/0.8459, allocations: 1.676 MB / 1.328 GB, free: 6.629 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006914/0.8466, allocations: 262.2 kB / 1.328 GB, free: 6.523 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004254/0.847, allocations: 157.5 kB / 1.329 GB, free: 6.469 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.8471, allocations: 6.156 kB / 1.329 GB, free: 6.465 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006252/0.8477, allocations: 313.7 kB / 1.329 GB, free: 6.328 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 1.283e-06/0.8477, allocations: 1.125 kB / 1.329 GB, free: 6.328 MB / 1.014 GB Notification: Performance of matching and sorting (n=30): time 0.007394/0.8551, allocations: 1.493 MB / 1.33 GB, free: 5.836 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.8552, allocations: 84.12 kB / 1.33 GB, free: 5.742 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004778/0.8557, allocations: 451.8 kB / 1.331 GB, free: 5.516 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.184e-05/0.8558, allocations: 49.84 kB / 1.331 GB, free: 5.469 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.8559, allocations: 200.6 kB / 1.331 GB, free: 5.301 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.606e-05/0.856, allocations: 101.1 kB / 1.331 GB, free: 5.223 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002519/0.8563, allocations: 155.2 kB / 1.331 GB, free: 5.16 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.8564, allocations: 358.8 kB / 1.332 GB, free: 4.824 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007051/0.8571, allocations: 273 kB / 1.332 GB, free: 4.734 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000847/0.858, allocations: 423.9 kB / 1.332 GB, free: 4.535 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006901/0.8649, allocations: 1.857 MB / 1.334 GB, free: 3.867 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.8649, allocations: 1.156 kB / 1.334 GB, free: 3.867 MB / 1.014 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00663/0.8715, allocations: 1.566 MB / 1.336 GB, free: 3.371 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.039e-05/0.8716, allocations: 66.59 kB / 1.336 GB, free: 3.305 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.8716, allocations: 6.438 kB / 1.336 GB, free: 3.301 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001575/0.8732, allocations: 405.9 kB / 1.336 GB, free: 3.172 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004538/0.8737, allocations: 93.66 kB / 1.336 GB, free: 3.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1496/1.023, allocations: 4.684 MB / 1.341 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008285/1.024, allocations: 104.1 kB / 1.341 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.469e-05/1.024, allocations: 36.77 kB / 1.341 GB, free: 14.78 MB / 1.029 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.0002376/1.024, allocations: 167.9 kB / 1.341 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-05/1.025, allocations: 51.58 kB / 1.341 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.981e-05/1.025, allocations: 40.98 kB / 1.341 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/1.025, allocations: 7.594 kB / 1.341 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/1.025, allocations: 7.922 kB / 1.341 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.025, allocations: 3.562 kB / 1.341 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004646/1.025, allocations: 468.6 kB / 1.342 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/1.025, allocations: 5.125 kB / 1.342 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/1.025, allocations: 29.97 kB / 1.342 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005445/1.026, allocations: 228.6 kB / 1.342 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/1.026, allocations: 17.3 kB / 1.342 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/1.028, allocations: 1.485 MB / 1.343 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.028, allocations: 1.594 kB / 1.343 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005537/1.033, allocations: 1.285 MB / 1.345 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/1.033, allocations: 168.6 kB / 1.345 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.99e-05/1.033, allocations: 7.406 kB / 1.345 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004234/1.034, allocations: 35.45 kB / 1.345 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/1.034, allocations: 43.05 kB / 1.345 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/1.034, allocations: 17.92 kB / 1.345 GB, free: 12.31 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003249/1.034, allocations: 304.7 kB / 1.345 GB, free: 12.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.034, allocations: 0 / 1.345 GB, free: 12.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004967/1.035, allocations: 163.2 kB / 1.345 GB, free: 12.14 MB / 1.029 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.002995/1.038, allocations: 1.429 MB / 1.347 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002762/1.041, allocations: 1.051 MB / 1.348 GB, free: 10.67 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.041, allocations: 1.156 kB / 1.348 GB, free: 10.67 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001349/1.042, allocations: 331.9 kB / 1.348 GB, free: 10.56 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000522/1.042, allocations: 121.5 kB / 1.348 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01756/1.06, allocations: 6.547 MB / 1.355 GB, free: 7.113 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/1.06, allocations: 0.81 MB / 1.355 GB, free: 6.359 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002046/1.061, allocations: 52.03 kB / 1.355 GB, free: 6.336 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/1.061, allocations: 143 kB / 1.356 GB, free: 6.219 MB / 1.029 GB Notification: Performance of SimCode: time 2.1e-07/1.061, allocations: 0 / 1.356 GB, free: 6.219 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.046/8.106, allocations: 16.43 MB / 1.372 GB, free: 14.11 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/21.49, allocations: 2.5 kB / 1.372 GB, free: 14.11 MB / 1.045 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse_fmu --startTime=0 --stopTime=7200 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1)