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.001102/0.001102, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001163/0.001163, allocations: 192 kB / 16.25 MB, free: 6.617 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.176/1.176, allocations: 205.1 MB / 222.1 MB, free: 4.738 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.507/1.507, allocations: 292.3 MB / 0.5485 GB, free: 13.65 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.001343/0.001343, allocations: 74.44 kB / 0.6711 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1924, allocations: 114.5 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.003787/0.1963, allocations: 3.063 MB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5212/0.7175, allocations: 151.2 MB / 0.9336 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.7178, allocations: 6.5 kB / 0.9336 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.7181, allocations: 68.11 kB / 0.9337 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0007386/0.7189, allocations: 250.8 kB / 0.9339 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002162/0.7211, allocations: 0.9528 MB / 0.9349 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006291/0.7217, allocations: 0.7776 MB / 0.9356 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.7219, allocations: 92.48 kB / 0.9357 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002919/0.7222, allocations: 321.8 kB / 0.936 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003788/0.7225, allocations: 332.4 kB / 0.9363 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.025e-05/0.7226, allocations: 61.42 kB / 0.9364 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.7239, allocations: 0.8278 MB / 0.9372 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.724, allocations: 159.4 kB / 0.9374 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002757/0.7243, allocations: 289.4 kB / 0.9376 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.7256, allocations: 0.9861 MB / 0.9386 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7256, allocations: 0 / 0.9386 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7256, allocations: 0 / 0.9386 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.505e-06/0.7256, allocations: 2.688 kB / 0.9386 GB, free: 5.691 MB / 0.7325 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.002633/0.7283, allocations: 1.056 MB / 0.9396 GB, free: 21.07 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.7283, allocations: 13.25 kB / 0.9396 GB, free: 21.07 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.703e-05/0.7284, allocations: 59.5 kB / 0.9397 GB, free: 21.03 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002445/0.7308, allocations: 268.4 kB / 0.94 GB, free: 20.99 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004924/0.7313, allocations: 401.6 kB / 0.9403 GB, free: 20.74 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.964e-05/0.7314, allocations: 90.72 kB / 0.9404 GB, free: 20.68 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.86e-05/0.7315, allocations: 40.3 kB / 0.9405 GB, free: 20.68 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007345/0.7323, allocations: 370.7 kB / 0.9408 GB, free: 20.6 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.7323, allocations: 0 / 0.9408 GB, free: 20.6 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.7323, allocations: 11.44 kB / 0.9408 GB, free: 20.6 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.7323, allocations: 9.938 kB / 0.9408 GB, free: 20.6 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000674/0.733, allocations: 255.6 kB / 0.9411 GB, free: 20.59 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004107/0.7371, allocations: 1.687 MB / 0.9427 GB, free: 19.93 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006552/0.7378, allocations: 250.7 kB / 0.943 GB, free: 19.89 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003977/0.7382, allocations: 160.9 kB / 0.9431 GB, free: 19.89 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.7383, allocations: 6.25 kB / 0.9431 GB, free: 19.89 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006185/0.7389, allocations: 298.8 kB / 0.9434 GB, free: 19.82 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=30): time 2.584e-06/0.7389, allocations: 3.984 kB / 0.9434 GB, free: 19.81 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.007993/0.7469, allocations: 1.496 MB / 0.9449 GB, free: 19.5 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.747, allocations: 88.25 kB / 0.945 GB, free: 19.41 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004425/0.7474, allocations: 449.7 kB / 0.9454 GB, free: 19.28 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.946e-05/0.7475, allocations: 46.27 kB / 0.9454 GB, free: 19.24 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.7476, allocations: 198.1 kB / 0.9456 GB, free: 19.14 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.792e-05/0.7477, allocations: 106.6 kB / 0.9457 GB, free: 19.07 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002532/0.748, allocations: 157.5 kB / 0.9459 GB, free: 19.06 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.7481, allocations: 357.7 kB / 0.9462 GB, free: 18.74 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007196/0.7488, allocations: 277.2 kB / 0.9465 GB, free: 18.74 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000839/0.7497, allocations: 416 kB / 0.9469 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007332/0.757, allocations: 1.86 MB / 0.9487 GB, free: 18.33 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.757, allocations: 2.219 kB / 0.9487 GB, free: 18.33 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007415/0.7645, allocations: 1.554 MB / 0.9502 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.736e-05/0.7645, allocations: 62.97 kB / 0.9503 GB, free: 18.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.7646, allocations: 3.047 kB / 0.9503 GB, free: 18.06 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001766/0.7663, allocations: 396.2 kB / 0.9506 GB, free: 18.01 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005614/0.7669, allocations: 95.05 kB / 0.9507 GB, free: 18.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005348/0.7723, allocations: 4.677 MB / 0.9553 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.7733, allocations: 99.61 kB / 0.9554 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.475e-05/0.7734, allocations: 41.17 kB / 0.9554 GB, free: 14 MB / 0.7481 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.0002912/0.7737, allocations: 176.4 kB / 0.9556 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.913e-05/0.7738, allocations: 45.69 kB / 0.9557 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.91e-05/0.7739, allocations: 39.84 kB / 0.9557 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.7739, allocations: 7.406 kB / 0.9557 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.7739, allocations: 2.734 kB / 0.9557 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.7739, allocations: 3.578 kB / 0.9557 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004485/0.7744, allocations: 476.5 kB / 0.9562 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.7744, allocations: 4 kB / 0.9562 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.7745, allocations: 25.31 kB / 0.9562 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005488/0.7751, allocations: 227.7 kB / 0.9564 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-05/0.7751, allocations: 10.44 kB / 0.9564 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/0.7768, allocations: 1.503 MB / 0.9579 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7768, allocations: 0.875 kB / 0.9579 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005908/0.7827, allocations: 1.269 MB / 0.9591 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.7829, allocations: 167.4 kB / 0.9593 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-05/0.783, allocations: 14.31 kB / 0.9593 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004714/0.7835, allocations: 39.94 kB / 0.9593 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.7836, allocations: 39.39 kB / 0.9594 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/0.7836, allocations: 18.28 kB / 0.9594 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00037/0.784, allocations: 298.8 kB / 0.9597 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/0.784, allocations: 0 / 0.9597 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007285/0.7848, allocations: 165 kB / 0.9598 GB, free: 12.03 MB / 0.7481 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.003098/0.7879, allocations: 1.435 MB / 0.9612 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003011/0.7909, allocations: 1.057 MB / 0.9623 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.7909, allocations: 4.062 kB / 0.9623 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001415/0.7923, allocations: 336.1 kB / 0.9626 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006123/0.7929, allocations: 123.7 kB / 0.9627 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0183/0.8113, allocations: 6.721 MB / 0.9693 GB, free: 8.699 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.8116, allocations: 0.8051 MB / 0.9701 GB, free: 8 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003355/0.8119, allocations: 56.16 kB / 0.9701 GB, free: 7.98 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/0.8122, allocations: 147.4 kB / 0.9702 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of SimCode: time 9.12e-07/0.8122, allocations: 0 / 0.9702 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6821/1.494, allocations: 16.03 MB / 0.9859 GB, free: 3.82 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002395/1.495, allocations: 273.7 kB / 0.9862 GB, free: 3.484 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.265/3.76, allocations: 0 / 0.9862 GB, free: 3.484 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)