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.001038/0.001038, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.00885/0.00885, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.677/1.677, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.686/1.686, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0008708/0.0008708, allocations: 15.22 kB / 0.6744 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2746, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.003524/0.2781, allocations: 2.689 MB / 0.7906 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6479/0.9261, allocations: 149.5 MB / 0.9366 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003852/0.9265, allocations: 6.562 kB / 0.9366 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003338/0.9269, allocations: 73 kB / 0.9367 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000759/0.9276, allocations: 240.5 kB / 0.9369 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.9297, allocations: 0.9317 MB / 0.9379 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006276/0.9303, allocations: 0.7372 MB / 0.9386 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.9305, allocations: 91.42 kB / 0.9387 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003102/0.9308, allocations: 280.8 kB / 0.9389 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003722/0.9312, allocations: 315.4 kB / 0.9392 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.371e-05/0.9313, allocations: 32.75 kB / 0.9393 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.9326, allocations: 0.8703 MB / 0.9401 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.941e-05/0.9327, allocations: 123.4 kB / 0.9402 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002205/0.9329, allocations: 283.9 kB / 0.9405 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009605/0.9339, allocations: 0.9472 MB / 0.9414 GB, free: 440 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.9339, allocations: 7.688 kB / 0.9414 GB, free: 436 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9339, allocations: 0.6875 kB / 0.9414 GB, free: 436 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.9339, allocations: 0 / 0.9414 GB, free: 436 kB / 0.7169 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.002364/0.9363, allocations: 0.9678 MB / 0.9424 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.9364, allocations: 9.094 kB / 0.9424 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.536e-05/0.9364, allocations: 60.67 kB / 0.9424 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002408/0.9389, allocations: 265.2 kB / 0.9427 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005507/0.9394, allocations: 404.2 kB / 0.9431 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.9395, allocations: 92.23 kB / 0.9432 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.9396, allocations: 40.55 kB / 0.9432 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007865/0.9404, allocations: 388.3 kB / 0.9436 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.9405, allocations: 0 / 0.9436 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.436e-05/0.9405, allocations: 13.12 kB / 0.9436 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.9405, allocations: 11.58 kB / 0.9436 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007355/0.9413, allocations: 278.8 kB / 0.9439 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004281/0.9456, allocations: 1.704 MB / 0.9455 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007489/0.9463, allocations: 270.8 kB / 0.9458 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004634/0.9468, allocations: 176.3 kB / 0.946 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.9468, allocations: 2.312 kB / 0.946 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007486/0.9476, allocations: 322.5 kB / 0.9463 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.944e-06/0.9476, allocations: 0 / 0.9463 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.008431/0.956, allocations: 1.562 MB / 0.9478 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.9561, allocations: 86.83 kB / 0.9479 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000544/0.9567, allocations: 453.7 kB / 0.9483 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001189/0.9568, allocations: 41.92 kB / 0.9484 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.957, allocations: 201 kB / 0.9485 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.785e-05/0.9571, allocations: 94.45 kB / 0.9486 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.9572, allocations: 73.03 kB / 0.9487 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.9573, allocations: 360.2 kB / 0.949 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007386/0.958, allocations: 280.9 kB / 0.9493 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008602/0.9589, allocations: 446.7 kB / 0.9497 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007443/0.9664, allocations: 1.946 MB / 0.9516 GB, free: 13 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.9664, allocations: 0 / 0.9516 GB, free: 13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007099/0.9735, allocations: 1.614 MB / 0.9532 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.834e-05/0.9736, allocations: 68.66 kB / 0.9533 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.9736, allocations: 2.344 kB / 0.9533 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001776/0.9754, allocations: 403.2 kB / 0.9537 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006676/0.9761, allocations: 98.42 kB / 0.9538 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005644/0.9817, allocations: 4.489 MB / 0.9581 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.9832, allocations: 107.1 kB / 0.9582 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/0.9833, allocations: 37.72 kB / 0.9583 GB, free: 8.781 MB / 0.7325 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.0004556/0.9838, allocations: 174.3 kB / 0.9585 GB, free: 8.656 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.9839, allocations: 46.38 kB / 0.9585 GB, free: 8.629 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.777e-05/0.984, allocations: 43.89 kB / 0.9585 GB, free: 8.617 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.984, allocations: 3.188 kB / 0.9585 GB, free: 8.617 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.984, allocations: 5.156 kB / 0.9585 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.9841, allocations: 2.531 kB / 0.9585 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006996/0.9848, allocations: 476.9 kB / 0.959 GB, free: 8.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.9848, allocations: 0 / 0.959 GB, free: 8.414 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.985, allocations: 32.8 kB / 0.959 GB, free: 8.414 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006275/0.9856, allocations: 235.3 kB / 0.9593 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.9e-05/0.9857, allocations: 11.55 kB / 0.9593 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.9875, allocations: 1.507 MB / 0.9607 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.9875, allocations: 1.219 kB / 0.9607 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006326/0.9938, allocations: 1.332 MB / 0.962 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003213/0.9942, allocations: 164.8 kB / 0.9622 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.892e-05/0.9943, allocations: 7.062 kB / 0.9622 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004936/0.9948, allocations: 48.25 kB / 0.9623 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.9949, allocations: 39.34 kB / 0.9623 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.684e-05/0.9949, allocations: 16.64 kB / 0.9623 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003808/0.9953, allocations: 300.6 kB / 0.9626 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9953, allocations: 1.094 kB / 0.9626 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006838/0.996, allocations: 154.7 kB / 0.9627 GB, free: 6.762 MB / 0.7325 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.003278/0.9993, allocations: 1.505 MB / 0.9642 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003083/1.002, allocations: 1.057 MB / 0.9652 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.002, allocations: 1.312 kB / 0.9652 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001457/1.004, allocations: 330.2 kB / 0.9656 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007015/1.005, allocations: 106.5 kB / 0.9657 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01884/1.023, allocations: 6.905 MB / 0.9724 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/1.024, allocations: 0.8083 MB / 0.9732 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003321/1.024, allocations: 57.09 kB / 0.9732 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/1.024, allocations: 143.3 kB / 0.9734 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of SimCode: time 8.82e-07/1.024, allocations: 0 / 0.9734 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.426/3.45, allocations: 15.29 MB / 0.9883 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/3.451, allocations: 272.7 kB / 0.9886 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.4/5.851, allocations: 2.969 kB / 0.9886 GB, free: 9.508 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)