Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.37/1.37, allocations: 251.5 MB / 266.7 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 168.3 kB / 325.8 MB, free: 2.664 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205 MB / 0.576 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007337/0.0007336, allocations: 94.28 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003245, allocations: 11.97 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1609, allocations: 105.4 MB / 0.8962 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.002467/0.1634, allocations: 2.74 MB / 0.8989 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.124/0.2874, allocations: 151.2 MB / 1.047 GB, free: 9.539 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000238/0.2877, allocations: 0 / 1.047 GB, free: 9.539 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.288, allocations: 79.44 kB / 1.047 GB, free: 9.461 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005555/0.2885, allocations: 234.5 kB / 1.047 GB, free: 9.23 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.2903, allocations: 0.9271 MB / 1.048 GB, free: 8.316 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0005532/0.2909, allocations: 0.7446 MB / 1.048 GB, free: 7.57 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.291, allocations: 82.05 kB / 1.049 GB, free: 7.48 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002616/0.2913, allocations: 291 kB / 1.049 GB, free: 7.195 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003376/0.2917, allocations: 314.8 kB / 1.049 GB, free: 6.887 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.534e-05/0.2917, allocations: 32 kB / 1.049 GB, free: 6.855 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.293, allocations: 0.8692 MB / 1.05 GB, free: 5.984 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.2931, allocations: 119.6 kB / 1.05 GB, free: 5.867 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002577/0.2933, allocations: 258.7 kB / 1.05 GB, free: 5.613 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009766/0.2943, allocations: 0.954 MB / 1.051 GB, free: 4.656 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2943, allocations: 0 / 1.051 GB, free: 4.656 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2943, allocations: 0 / 1.051 GB, free: 4.656 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.2943, allocations: 0 / 1.051 GB, free: 4.656 MB / 0.698 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.002176/0.2965, allocations: 0.9695 MB / 1.052 GB, free: 3.625 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.2966, allocations: 8.031 kB / 1.052 GB, free: 3.617 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.014e-05/0.2966, allocations: 58.73 kB / 1.052 GB, free: 3.551 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002238/0.2989, allocations: 271.6 kB / 1.053 GB, free: 3.285 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004902/0.2994, allocations: 408.7 kB / 1.053 GB, free: 2.844 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.556e-05/0.2995, allocations: 91.83 kB / 1.053 GB, free: 2.742 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.25e-05/0.2996, allocations: 40 kB / 1.053 GB, free: 2.703 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007091/0.3003, allocations: 384.2 kB / 1.053 GB, free: 2.309 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3003, allocations: 3.938 kB / 1.053 GB, free: 2.305 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.3003, allocations: 12 kB / 1.053 GB, free: 2.293 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.3003, allocations: 7.938 kB / 1.053 GB, free: 2.285 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006804/0.301, allocations: 281.5 kB / 1.054 GB, free: 2.012 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004005/0.305, allocations: 1.7 MB / 1.055 GB, free: 248 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2912/0.5962, allocations: 268.3 kB / 1.056 GB, free: 160.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005215/0.5968, allocations: 181.8 kB / 1.056 GB, free: 160.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.181e-05/0.5968, allocations: 3.984 kB / 1.056 GB, free: 160.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006784/0.5975, allocations: 312.5 kB / 1.056 GB, free: 160.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 2.435e-06/0.5975, allocations: 0 / 1.056 GB, free: 160.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.007489/0.605, allocations: 1.562 MB / 1.058 GB, free: 160.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.6051, allocations: 84.7 kB / 1.058 GB, free: 160.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005394/0.6056, allocations: 451 kB / 1.058 GB, free: 160.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/0.6057, allocations: 45.12 kB / 1.058 GB, free: 160.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.6059, allocations: 205.4 kB / 1.058 GB, free: 160.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.131e-05/0.606, allocations: 96.34 kB / 1.058 GB, free: 160.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.818e-05/0.606, allocations: 67.3 kB / 1.059 GB, free: 160.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.24e-05/0.6061, allocations: 359.1 kB / 1.059 GB, free: 159.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000707/0.6068, allocations: 287.6 kB / 1.059 GB, free: 159.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008363/0.6077, allocations: 433.7 kB / 1.06 GB, free: 159.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007136/0.6148, allocations: 1.96 MB / 1.061 GB, free: 159.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.778e-06/0.6149, allocations: 0 / 1.061 GB, free: 159.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007019/0.6219, allocations: 1.611 MB / 1.063 GB, free: 159.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/0.6219, allocations: 64.39 kB / 1.063 GB, free: 159.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.6219, allocations: 5.531 kB / 1.063 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001611/0.6236, allocations: 401.2 kB / 1.063 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004932/0.6241, allocations: 105.7 kB / 1.064 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004338/0.6284, allocations: 4.462 MB / 1.068 GB, free: 155.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008803/0.6293, allocations: 112.5 kB / 1.068 GB, free: 155.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.564e-05/0.6294, allocations: 39.28 kB / 1.068 GB, free: 155.2 MB / 0.698 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.0002261/0.6296, allocations: 186.1 kB / 1.068 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.343e-05/0.6297, allocations: 48.11 kB / 1.068 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.896e-05/0.6298, allocations: 42.64 kB / 1.068 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.6298, allocations: 4.156 kB / 1.068 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.6298, allocations: 0.8438 kB / 1.068 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.6298, allocations: 2.391 kB / 1.068 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004821/0.6303, allocations: 476.8 kB / 1.069 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.6303, allocations: 4.562 kB / 1.069 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.6305, allocations: 33.12 kB / 1.069 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005636/0.631, allocations: 238 kB / 1.069 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/0.6311, allocations: 20.03 kB / 1.069 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/0.6325, allocations: 1.496 MB / 1.071 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.6325, allocations: 1.062 kB / 1.071 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006078/0.6386, allocations: 1.336 MB / 1.072 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.6388, allocations: 164 kB / 1.072 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.304e-05/0.6389, allocations: 7.797 kB / 1.072 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004631/0.6394, allocations: 48.03 kB / 1.072 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.6395, allocations: 38.28 kB / 1.072 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.824e-05/0.6395, allocations: 21.98 kB / 1.072 GB, free: 153.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003423/0.6399, allocations: 299 kB / 1.072 GB, free: 153.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6399, allocations: 0 / 1.072 GB, free: 153.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005673/0.6405, allocations: 157 kB / 1.073 GB, free: 153.1 MB / 0.698 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.003041/0.6435, allocations: 1.49 MB / 1.074 GB, free: 152.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002809/0.6463, allocations: 1.067 MB / 1.075 GB, free: 152.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6463, allocations: 0 / 1.075 GB, free: 152.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001388/0.6477, allocations: 329.7 kB / 1.075 GB, free: 152 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005761/0.6483, allocations: 104.9 kB / 1.075 GB, free: 152 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01803/0.6664, allocations: 6.845 MB / 1.082 GB, free: 148.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.6666, allocations: 0.8117 MB / 1.083 GB, free: 148 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002904/0.6669, allocations: 62.78 kB / 1.083 GB, free: 148 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.6671, allocations: 137.3 kB / 1.083 GB, free: 147.9 MB / 0.698 GB Notification: Performance of SimCode: time 5.61e-07/0.6671, allocations: 0 / 1.083 GB, free: 147.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2003/0.8674, allocations: 15.28 MB / 1.098 GB, free: 135.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/0.8676, allocations: 286.4 kB / 1.098 GB, free: 134.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.485/3.353, allocations: 0 / 1.098 GB, free: 134.9 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe 2>&1)