Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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: translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 109.4 kB / 16.53 MB, free: 6.73 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.00115/0.00115, allocations: 191.2 kB / 17.44 MB, free: 6.055 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.32/1.32, allocations: 222.9 MB / 241.1 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7421/0.7421, allocations: 115.3 MB / 406.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 67.91 kB / 493.6 MB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3901, allocations: 76.17 MB / 0.5564 GB, free: 36.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003348/0.3935, allocations: 1.618 MB / 0.558 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.395, allocations: 0.9383 MB / 0.5589 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.415e-05/0.3951, allocations: 1.812 kB / 0.5589 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.029e-05/0.3951, allocations: 6.938 kB / 0.5589 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.3953, allocations: 18.59 kB / 0.5589 GB, free: 34.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.3956, allocations: 106.6 kB / 0.559 GB, free: 34.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.3958, allocations: 70.69 kB / 0.5591 GB, free: 34.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.3959, allocations: 12.97 kB / 0.5591 GB, free: 34.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.165e-05/0.396, allocations: 37.02 kB / 0.5591 GB, free: 34.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.3961, allocations: 31.92 kB / 0.5591 GB, free: 34.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.3961, allocations: 1.594 kB / 0.5591 GB, free: 34.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000388/0.3965, allocations: 277.8 kB / 0.5594 GB, free: 34.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.3966, allocations: 14.17 kB / 0.5594 GB, free: 34.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.293e-05/0.3966, allocations: 30.67 kB / 0.5595 GB, free: 34.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.3968, allocations: 95.53 kB / 0.5595 GB, free: 34.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3968, allocations: 0 / 0.5595 GB, free: 34.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3968, allocations: 1.281 kB / 0.5595 GB, free: 34.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.3969, allocations: 1.406 kB / 0.5596 GB, free: 34.22 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005821/0.3974, allocations: 415 kB / 0.5599 GB, free: 33.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.3975, allocations: 13.31 kB / 0.56 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.3976, allocations: 15.73 kB / 0.56 GB, free: 33.81 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.3978, allocations: 191.3 kB / 0.5602 GB, free: 33.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.3978, allocations: 1.875 kB / 0.5602 GB, free: 33.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.3979, allocations: 3.844 kB / 0.5602 GB, free: 33.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.398, allocations: 64.52 kB / 0.5602 GB, free: 33.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3981, allocations: 1.062 kB / 0.5602 GB, free: 33.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.3981, allocations: 4.719 kB / 0.5602 GB, free: 33.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3981, allocations: 1.188 kB / 0.5602 GB, free: 33.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.3983, allocations: 42.05 kB / 0.5603 GB, free: 33.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.3987, allocations: 301.4 kB / 0.5606 GB, free: 33.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.3989, allocations: 55.23 kB / 0.5606 GB, free: 33.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.377e-05/0.399, allocations: 33.78 kB / 0.5606 GB, free: 33.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.399, allocations: 5.406 kB / 0.5606 GB, free: 33.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.399, allocations: 32.95 kB / 0.5607 GB, free: 33.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.399, allocations: 1.312 kB / 0.5607 GB, free: 33.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.000375/0.3994, allocations: 107.2 kB / 0.5608 GB, free: 33.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.3994, allocations: 58.02 kB / 0.5608 GB, free: 33.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.552e-05/0.3995, allocations: 129.2 kB / 0.561 GB, free: 32.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.3995, allocations: 25.7 kB / 0.561 GB, free: 32.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.3996, allocations: 101.9 kB / 0.5611 GB, free: 32.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.3996, allocations: 11.27 kB / 0.5611 GB, free: 32.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.3997, allocations: 22.14 kB / 0.5611 GB, free: 32.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.949e-05/0.3997, allocations: 327.4 kB / 0.5614 GB, free: 32.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.969e-05/0.3998, allocations: 20.91 kB / 0.5614 GB, free: 32.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.776e-05/0.3999, allocations: 23 kB / 0.5615 GB, free: 32.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.4, allocations: 61.47 kB / 0.5615 GB, free: 32.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4001, allocations: 0 / 0.5615 GB, free: 32.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002059/0.4003, allocations: 91.62 kB / 0.5616 GB, free: 32.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.4003, allocations: 5.281 kB / 0.5616 GB, free: 32.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.4003, allocations: 1.891 kB / 0.5616 GB, free: 32.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.4003, allocations: 3.938 kB / 0.5616 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.4005, allocations: 17.14 kB / 0.5616 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4005, allocations: 0 / 0.5616 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.27e-05/0.4005, allocations: 5.953 kB / 0.5616 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.4006, allocations: 5.312 kB / 0.5617 GB, free: 32.36 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.676e-05/0.4006, allocations: 119.9 kB / 0.5618 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.4007, allocations: 7.016 kB / 0.5618 GB, free: 32.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.4009, allocations: 105 kB / 0.5619 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4009, allocations: 1.125 kB / 0.5619 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4009, allocations: 0.7812 kB / 0.5619 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.401, allocations: 1.328 kB / 0.5619 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.4011, allocations: 188.5 kB / 0.5621 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4011, allocations: 1.562 kB / 0.5621 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.727e-05/0.4012, allocations: 13.75 kB / 0.5621 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.4012, allocations: 1.953 kB / 0.5621 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.4012, allocations: 0.6562 kB / 0.5621 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4013, allocations: 2.156 kB / 0.5621 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4013, allocations: 0 / 0.5621 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.4015, allocations: 194.2 kB / 0.5623 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.447e-05/0.4015, allocations: 83.98 kB / 0.5623 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.4016, allocations: 2.781 kB / 0.5623 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.613e-05/0.4016, allocations: 4.688 kB / 0.5623 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.4017, allocations: 9.297 kB / 0.5624 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.4017, allocations: 2.406 kB / 0.5624 GB, free: 31.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.01e-05/0.4018, allocations: 96.92 kB / 0.5625 GB, free: 31.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4018, allocations: 1.75 kB / 0.5625 GB, free: 31.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.402, allocations: 31.06 kB / 0.5625 GB, free: 31.62 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001688/0.4022, allocations: 109.2 kB / 0.5626 GB, free: 31.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.4024, allocations: 63.95 kB / 0.5626 GB, free: 31.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4024, allocations: 1.344 kB / 0.5626 GB, free: 31.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.54e-05/0.4025, allocations: 28.64 kB / 0.5627 GB, free: 31.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.4029, allocations: 16.27 kB / 0.5627 GB, free: 31.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004247/0.4033, allocations: 240.2 kB / 0.5629 GB, free: 31.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.4035, allocations: 0.6923 MB / 0.5636 GB, free: 30.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.4035, allocations: 12.39 kB / 0.5636 GB, free: 30.6 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4035, allocations: 0 / 0.5636 GB, free: 30.6 MB / 446.1 MB Notification: Performance of Templates: time 0.003478/0.407, allocations: 1.113 MB / 0.5647 GB, free: 30.56 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)