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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001011/0.001011, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008715/0.008715, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.282/1.282, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.367/2.367, allocations: 437.8 MB / 0.7121 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002836/0.0002836, allocations: 8 kB / 0.873 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5963/0.5966, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.003205/0.5998, allocations: 2.67 MB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1603/0.7601, allocations: 149.5 MB / 1.172 GB, free: 7.109 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000387/0.7605, allocations: 7.938 kB / 1.172 GB, free: 7.102 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003897/0.7609, allocations: 79.44 kB / 1.172 GB, free: 7.023 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0009233/0.7619, allocations: 246.5 kB / 1.172 GB, free: 6.781 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002266/0.7641, allocations: 0.9248 MB / 1.173 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0009108/0.7651, allocations: 0.7485 MB / 1.174 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.7653, allocations: 84.14 kB / 1.174 GB, free: 5.031 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005073/0.7658, allocations: 283 kB / 1.174 GB, free: 4.754 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005857/0.7664, allocations: 314.8 kB / 1.174 GB, free: 4.445 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.7665, allocations: 32 kB / 1.174 GB, free: 4.414 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.7681, allocations: 0.8692 MB / 1.175 GB, free: 3.543 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.7682, allocations: 127.5 kB / 1.175 GB, free: 3.418 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002831/0.7685, allocations: 284.4 kB / 1.176 GB, free: 3.133 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.7696, allocations: 0.9541 MB / 1.177 GB, free: 2.176 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.7696, allocations: 0 / 1.177 GB, free: 2.176 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.326e-06/0.7696, allocations: 7.984 kB / 1.177 GB, free: 2.168 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.7697, allocations: 0 / 1.177 GB, free: 2.168 MB / 0.92 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.002406/0.7721, allocations: 0.9619 MB / 1.178 GB, free: 1.145 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.7721, allocations: 11.97 kB / 1.178 GB, free: 1.133 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.997e-05/0.7722, allocations: 66.72 kB / 1.178 GB, free: 1.059 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002438/0.7747, allocations: 263.6 kB / 1.178 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005723/0.7752, allocations: 408.8 kB / 1.178 GB, free: 368 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.124e-05/0.7753, allocations: 91.83 kB / 1.178 GB, free: 264 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.7755, allocations: 40 kB / 1.178 GB, free: 224 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000815/0.7763, allocations: 384.2 kB / 1.179 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.7763, allocations: 0 / 1.179 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.461e-05/0.7764, allocations: 11.98 kB / 1.179 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.7764, allocations: 11.94 kB / 1.179 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007829/0.7772, allocations: 281.5 kB / 1.179 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004398/0.7816, allocations: 1.716 MB / 1.181 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007776/0.7824, allocations: 270.7 kB / 1.181 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000472/0.7828, allocations: 180.7 kB / 1.181 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.7829, allocations: 4 kB / 1.181 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007061/0.7836, allocations: 312.7 kB / 1.181 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 1.983e-06/0.7836, allocations: 0 / 1.181 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.008376/0.792, allocations: 1.568 MB / 1.183 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.7921, allocations: 85.05 kB / 1.183 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005972/0.7927, allocations: 453.7 kB / 1.183 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001396/0.7928, allocations: 41.7 kB / 1.184 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.793, allocations: 200.9 kB / 1.184 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.7932, allocations: 98.72 kB / 1.184 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.7933, allocations: 77.61 kB / 1.184 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.7934, allocations: 358.7 kB / 1.184 GB, free: 10 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007948/0.7942, allocations: 285.1 kB / 1.184 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009847/0.7952, allocations: 429.8 kB / 1.185 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007768/0.803, allocations: 1.957 MB / 1.187 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.803, allocations: 0 / 1.187 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007381/0.8104, allocations: 1.623 MB / 1.188 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.268e-05/0.8105, allocations: 59.41 kB / 1.188 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.8105, allocations: 11.86 kB / 1.188 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00172/0.8122, allocations: 415.2 kB / 1.189 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005304/0.8128, allocations: 99.8 kB / 1.189 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005375/0.8181, allocations: 4.462 MB / 1.193 GB, free: 232 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009704/0.8191, allocations: 119.2 kB / 1.193 GB, free: 112 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-05/0.8192, allocations: 35.95 kB / 1.193 GB, free: 76 kB / 0.9356 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.0002994/0.8196, allocations: 177.7 kB / 1.194 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.181e-05/0.8196, allocations: 39.44 kB / 1.194 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.504e-05/0.8197, allocations: 47.56 kB / 1.194 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.8197, allocations: 0 / 1.194 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.8197, allocations: 4 kB / 1.194 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.8197, allocations: 0 / 1.194 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006366/0.8204, allocations: 477.1 kB / 1.194 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.8204, allocations: 0 / 1.194 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002366/0.8206, allocations: 35.97 kB / 1.194 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006784/0.8213, allocations: 233.5 kB / 1.194 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.668e-05/0.8214, allocations: 11.98 kB / 1.194 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/0.8231, allocations: 1.509 MB / 1.196 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8231, allocations: 0 / 1.196 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006156/0.8292, allocations: 1.343 MB / 1.197 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002454/0.8295, allocations: 160.4 kB / 1.197 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-05/0.8296, allocations: 11.98 kB / 1.197 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004989/0.8301, allocations: 51.89 kB / 1.197 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.8303, allocations: 35.95 kB / 1.197 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.66e-05/0.8303, allocations: 19.97 kB / 1.197 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003649/0.8307, allocations: 295.1 kB / 1.198 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8307, allocations: 7.938 kB / 1.198 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006497/0.8313, allocations: 163.8 kB / 1.198 GB, free: 11.32 MB / 0.9512 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.003302/0.8346, allocations: 1.492 MB / 1.199 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00307/0.8377, allocations: 1.064 MB / 1.2 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.8377, allocations: 0 / 1.2 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.8392, allocations: 338.8 kB / 1.201 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006354/0.8399, allocations: 112.6 kB / 1.201 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01963/0.8595, allocations: 6.918 MB / 1.208 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.8599, allocations: 0.8035 MB / 1.208 GB, free: 340 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002996/0.8602, allocations: 55.38 kB / 1.208 GB, free: 280 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/0.8604, allocations: 135.4 kB / 1.209 GB, free: 144 kB / 0.9512 GB Notification: Performance of SimCode: time 5.01e-07/0.8604, allocations: 8 kB / 1.209 GB, free: 136 kB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4801/1.341, allocations: 15.26 MB / 1.224 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002728/1.341, allocations: 257.5 kB / 1.224 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.436/3.776, allocations: 3.938 kB / 1.224 GB, free: 0.9414 MB / 0.9669 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=50 --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)