Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse,fileNamePrefix="Buildings_9_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.001435/0.001435, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 193.7 kB / 16.53 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.289/2.289, allocations: 390.3 MB / 0.6647 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 67.91 kB / 0.8127 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4991/0.5005, allocations: 140.4 MB / 0.9497 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.003245/0.5038, allocations: 3.01 MB / 0.9527 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1364/0.6402, allocations: 153.4 MB / 1.102 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.6404, allocations: 4 kB / 1.102 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.6407, allocations: 83.2 kB / 1.103 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005398/0.6413, allocations: 282.1 kB / 1.103 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.643, allocations: 1.004 MB / 1.104 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005734/0.6436, allocations: 0.7876 MB / 1.105 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.6437, allocations: 89.97 kB / 1.105 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002634/0.644, allocations: 319 kB / 1.105 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003791/0.6444, allocations: 342.8 kB / 1.105 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.672e-05/0.6445, allocations: 60 kB / 1.105 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.6456, allocations: 0.7836 MB / 1.106 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.6458, allocations: 151.6 kB / 1.106 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002376/0.646, allocations: 282.8 kB / 1.107 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009027/0.6469, allocations: 0.9543 MB / 1.107 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6469, allocations: 4 kB / 1.107 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6469, allocations: 0 / 1.107 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.6469, allocations: 0 / 1.107 GB, free: 15.66 MB / 0.8731 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.00227/0.6492, allocations: 1.059 MB / 1.109 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.6493, allocations: 8.031 kB / 1.109 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.635e-05/0.6493, allocations: 62.67 kB / 1.109 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002266/0.6516, allocations: 263.1 kB / 1.109 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004975/0.6521, allocations: 396.9 kB / 1.109 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.124e-05/0.6522, allocations: 95.83 kB / 1.109 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.483e-05/0.6523, allocations: 40 kB / 1.109 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007106/0.653, allocations: 376.2 kB / 1.11 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.653, allocations: 0 / 1.11 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/0.6531, allocations: 11.94 kB / 1.11 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.6531, allocations: 8 kB / 1.11 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006759/0.6538, allocations: 253.5 kB / 1.11 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003887/0.6577, allocations: 1.689 MB / 1.112 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006902/0.6584, allocations: 246.6 kB / 1.112 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004243/0.6588, allocations: 160.7 kB / 1.112 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.6588, allocations: 7.984 kB / 1.112 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006466/0.6595, allocations: 301.7 kB / 1.112 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 1.313e-06/0.6595, allocations: 0 / 1.112 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.007644/0.6671, allocations: 1.501 MB / 1.114 GB, free: 8.941 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.6672, allocations: 89.05 kB / 1.114 GB, free: 8.836 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004409/0.6676, allocations: 453.7 kB / 1.114 GB, free: 8.387 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.52e-05/0.6677, allocations: 41.64 kB / 1.114 GB, free: 8.34 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.6679, allocations: 201 kB / 1.115 GB, free: 8.141 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.462e-05/0.668, allocations: 90.66 kB / 1.115 GB, free: 8.051 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002512/0.6682, allocations: 162.1 kB / 1.115 GB, free: 7.883 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.6683, allocations: 358.7 kB / 1.115 GB, free: 7.523 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007121/0.669, allocations: 277.1 kB / 1.115 GB, free: 7.254 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008366/0.6699, allocations: 421.8 kB / 1.116 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007156/0.6771, allocations: 1.852 MB / 1.118 GB, free: 4.898 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/0.6771, allocations: 4 kB / 1.118 GB, free: 4.895 MB / 0.8731 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.006953/0.684, allocations: 1.572 MB / 1.119 GB, free: 3.289 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.442e-05/0.6841, allocations: 59.41 kB / 1.119 GB, free: 3.219 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.6841, allocations: 128 / 1.119 GB, free: 3.219 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001647/0.6857, allocations: 395.1 kB / 1.12 GB, free: 2.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004885/0.6862, allocations: 99.73 kB / 1.12 GB, free: 2.723 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005081/0.6913, allocations: 4.677 MB / 1.124 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008209/0.6922, allocations: 91.31 kB / 1.124 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.641e-05/0.6923, allocations: 47.94 kB / 1.124 GB, free: 13.57 MB / 0.8887 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.0002271/0.6925, allocations: 165.7 kB / 1.124 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.497e-05/0.6926, allocations: 43.44 kB / 1.125 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.595e-05/0.6927, allocations: 51.5 kB / 1.125 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.6927, allocations: 4 kB / 1.125 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.6927, allocations: 0 / 1.125 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.6927, allocations: 0 / 1.125 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004521/0.6931, allocations: 469.3 kB / 1.125 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.6931, allocations: 4 kB / 1.125 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.6933, allocations: 27.97 kB / 1.125 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005725/0.6939, allocations: 229.5 kB / 1.125 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.881e-05/0.6939, allocations: 15.92 kB / 1.125 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/0.6956, allocations: 1.496 MB / 1.127 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.6956, allocations: 8 kB / 1.127 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005987/0.7016, allocations: 1.29 MB / 1.128 GB, free: 9.648 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.7018, allocations: 160.5 kB / 1.128 GB, free: 9.473 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.957e-05/0.7019, allocations: 11.94 kB / 1.128 GB, free: 9.461 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004642/0.7023, allocations: 39.95 kB / 1.128 GB, free: 9.422 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.7025, allocations: 47.88 kB / 1.128 GB, free: 9.375 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-05/0.7025, allocations: 15.92 kB / 1.128 GB, free: 9.359 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003265/0.7028, allocations: 303.1 kB / 1.129 GB, free: 9.066 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7028, allocations: 0 / 1.129 GB, free: 9.066 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004817/0.7033, allocations: 151.9 kB / 1.129 GB, free: 8.918 MB / 0.8887 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.003136/0.7065, allocations: 1.444 MB / 1.13 GB, free: 7.438 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002918/0.7094, allocations: 1.06 MB / 1.131 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.7094, allocations: 4.125 kB / 1.131 GB, free: 6.316 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001421/0.7108, allocations: 331 kB / 1.131 GB, free: 5.988 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005387/0.7114, allocations: 113.7 kB / 1.132 GB, free: 5.879 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01791/0.7293, allocations: 6.649 MB / 1.138 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.7296, allocations: 0.8035 MB / 1.139 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002352/0.7298, allocations: 59.33 kB / 1.139 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.73, allocations: 143.4 kB / 1.139 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.73, allocations: 0 / 1.139 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4033/1.133, allocations: 16.28 MB / 1.155 GB, free: 14.04 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/13.3, allocations: 12.88 kB / 1.155 GB, free: 14.04 MB / 0.92 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe 2>&1)