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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008858/0.0008858, allocations: 97.8 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.007283/0.007283, allocations: 170.2 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.181/1.181, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.142/2.142, allocations: 390.9 MB / 0.6664 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.0003101, allocations: 11.94 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5422/0.5426, allocations: 142.4 MB / 0.9552 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.002399/0.545, allocations: 2.672 MB / 0.9578 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1404/0.6854, allocations: 149.5 MB / 1.104 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003346/0.6858, allocations: 7.938 kB / 1.104 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003116/0.6861, allocations: 67.5 kB / 1.104 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007497/0.6869, allocations: 238.5 kB / 1.104 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002038/0.6889, allocations: 0.928 MB / 1.105 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008082/0.6897, allocations: 0.7407 MB / 1.106 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.6899, allocations: 85.98 kB / 1.106 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003658/0.6903, allocations: 287 kB / 1.106 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003771/0.6907, allocations: 310.8 kB / 1.106 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.097e-05/0.6907, allocations: 35.98 kB / 1.106 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.6921, allocations: 0.8731 MB / 1.107 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.6922, allocations: 123.5 kB / 1.107 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002374/0.6925, allocations: 288.4 kB / 1.108 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009363/0.6934, allocations: 0.9463 MB / 1.109 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.6934, allocations: 0 / 1.109 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6934, allocations: 0 / 1.109 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.6934, allocations: 7.938 kB / 1.109 GB, free: 1.797 MB / 0.8575 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.002236/0.6957, allocations: 0.9658 MB / 1.11 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.6957, allocations: 12.03 kB / 1.11 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.995e-05/0.6958, allocations: 62.72 kB / 1.11 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002369/0.6982, allocations: 263.1 kB / 1.11 GB, free: 440 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004947/0.6987, allocations: 400.8 kB / 1.11 GB, free: 0 / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.24e-05/0.6988, allocations: 91.83 kB / 1.11 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.6989, allocations: 40 kB / 1.11 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007593/0.6997, allocations: 380.2 kB / 1.111 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.6997, allocations: 4 kB / 1.111 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.97e-05/0.6997, allocations: 23.91 kB / 1.111 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.6997, allocations: 4 kB / 1.111 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007318/0.7005, allocations: 281.4 kB / 1.111 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004117/0.7046, allocations: 1.7 MB / 1.113 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007416/0.7054, allocations: 274.6 kB / 1.113 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004716/0.7058, allocations: 172.8 kB / 1.113 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.7059, allocations: 7.984 kB / 1.113 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006795/0.7066, allocations: 320.7 kB / 1.113 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.7066, allocations: 4 kB / 1.113 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.008208/0.7148, allocations: 1.569 MB / 1.115 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.7148, allocations: 81.11 kB / 1.115 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000468/0.7153, allocations: 457.7 kB / 1.116 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.429e-05/0.7154, allocations: 41.7 kB / 1.116 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.7156, allocations: 200.8 kB / 1.116 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.445e-05/0.7156, allocations: 94.73 kB / 1.116 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.7158, allocations: 73.67 kB / 1.116 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.7159, allocations: 354.7 kB / 1.116 GB, free: 9.66 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007723/0.7167, allocations: 289.1 kB / 1.117 GB, free: 9.375 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008756/0.7175, allocations: 437.7 kB / 1.117 GB, free: 8.926 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007695/0.7252, allocations: 1.95 MB / 1.119 GB, free: 6.91 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.7253, allocations: 3.938 kB / 1.119 GB, free: 6.906 MB / 0.8731 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007504/0.7328, allocations: 1.627 MB / 1.12 GB, free: 5.246 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.979e-05/0.7328, allocations: 63.41 kB / 1.12 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.7328, allocations: 0 / 1.12 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001718/0.7346, allocations: 403.1 kB / 1.121 GB, free: 4.766 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005047/0.7351, allocations: 103.9 kB / 1.121 GB, free: 4.664 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005079/0.7402, allocations: 4.482 MB / 1.125 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008838/0.7411, allocations: 111.2 kB / 1.125 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.561e-05/0.7411, allocations: 35.95 kB / 1.125 GB, free: 15.71 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.0002436/0.7414, allocations: 165.7 kB / 1.126 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.866e-05/0.7415, allocations: 47.42 kB / 1.126 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.737e-05/0.7415, allocations: 43.52 kB / 1.126 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.7415, allocations: 8 kB / 1.126 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.7416, allocations: 3.938 kB / 1.126 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.7416, allocations: 0 / 1.126 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004934/0.7421, allocations: 481.2 kB / 1.126 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.7421, allocations: 0 / 1.126 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.7422, allocations: 27.97 kB / 1.126 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005841/0.7428, allocations: 241.5 kB / 1.126 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.273e-05/0.7429, allocations: 11.98 kB / 1.126 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/0.7446, allocations: 1.499 MB / 1.128 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.7446, allocations: 8 kB / 1.128 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006321/0.7509, allocations: 1.347 MB / 1.129 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.7511, allocations: 160.5 kB / 1.129 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.526e-05/0.7512, allocations: 11.98 kB / 1.129 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004911/0.7517, allocations: 43.95 kB / 1.129 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.7518, allocations: 35.95 kB / 1.129 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.513e-05/0.7518, allocations: 19.97 kB / 1.13 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003334/0.7522, allocations: 299.1 kB / 1.13 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7522, allocations: 0 / 1.13 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004985/0.7527, allocations: 163.8 kB / 1.13 GB, free: 10.98 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.003247/0.7559, allocations: 1.494 MB / 1.131 GB, free: 9.449 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002936/0.7589, allocations: 1.068 MB / 1.132 GB, free: 8.324 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.7589, allocations: 0 / 1.132 GB, free: 8.324 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001467/0.7604, allocations: 329.5 kB / 1.133 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006017/0.761, allocations: 107.8 kB / 1.133 GB, free: 7.895 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01922/0.7802, allocations: 6.933 MB / 1.14 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.7805, allocations: 0.8075 MB / 1.14 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002522/0.7808, allocations: 55.33 kB / 1.14 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.781, allocations: 135.4 kB / 1.141 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.781, allocations: 0 / 1.141 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.752/3.533, allocations: 15.27 MB / 1.156 GB, free: 0.8398 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002865/3.534, allocations: 263.9 kB / 1.156 GB, free: 0.5273 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.527/6.06, allocations: 0 / 1.156 GB, free: 0.5273 MB / 0.9044 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)