Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005047/0.005046, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001194/0.001194, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8103/0.8103, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001292, allocations: 63.91 kB / 0.5814 GB, free: 7.543 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4978/0.4991, allocations: 80.21 MB / 0.6597 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003086/0.5022, allocations: 2.114 MB / 0.6618 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001761/0.504, allocations: 1.035 MB / 0.6628 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002093/0.5042, allocations: 6.781 kB / 0.6628 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.675e-05/0.5043, allocations: 25.41 kB / 0.6628 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004167/0.5048, allocations: 80.22 kB / 0.6629 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007082/0.5055, allocations: 188.8 kB / 0.663 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003876/0.5059, allocations: 297.5 kB / 0.6633 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.5061, allocations: 65.59 kB / 0.6634 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.5062, allocations: 108.9 kB / 0.6635 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.5065, allocations: 147 kB / 0.6636 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.525e-05/0.5065, allocations: 21.25 kB / 0.6637 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004339/0.507, allocations: 291.5 kB / 0.6639 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.363e-05/0.507, allocations: 48.11 kB / 0.664 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.533e-05/0.5071, allocations: 117 kB / 0.6641 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004867/0.5076, allocations: 334.3 kB / 0.6644 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5076, allocations: 1.344 kB / 0.6644 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5076, allocations: 0 / 0.6644 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.5077, allocations: 0 / 0.6644 GB, free: 7.262 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001041/0.5087, allocations: 0.6238 MB / 0.665 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.5088, allocations: 10.44 kB / 0.665 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002779/0.509, allocations: 43.09 kB / 0.6651 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004/0.5094, allocations: 289.3 kB / 0.6654 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.5095, allocations: 10.94 kB / 0.6654 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.5095, allocations: 21.5 kB / 0.6654 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004799/0.51, allocations: 233.2 kB / 0.6656 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.51, allocations: 0 / 0.6656 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.51, allocations: 5.906 kB / 0.6656 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.5101, allocations: 3.969 kB / 0.6656 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005818/0.5106, allocations: 207.5 kB / 0.6658 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.5117, allocations: 0.9395 MB / 0.6667 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007085/0.5124, allocations: 249.4 kB / 0.667 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/0.5127, allocations: 105.1 kB / 0.6671 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.5127, allocations: 1.375 kB / 0.6671 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.5127, allocations: 33.59 kB / 0.6671 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.422e-06/0.5127, allocations: 0 / 0.6671 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001066/0.5138, allocations: 338.3 kB / 0.6674 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.5139, allocations: 82.7 kB / 0.6675 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.5141, allocations: 266.9 kB / 0.6678 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.5141, allocations: 26.98 kB / 0.6678 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.047e-05/0.5142, allocations: 164.3 kB / 0.6679 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.5143, allocations: 58.47 kB / 0.668 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-05/0.5143, allocations: 38.92 kB / 0.668 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.608e-05/0.5144, allocations: 336.5 kB / 0.6684 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.5147, allocations: 94.88 kB / 0.6684 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/0.515, allocations: 142 kB / 0.6686 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005545/0.5155, allocations: 240.8 kB / 0.6688 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5155, allocations: 0 / 0.6688 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007502/0.5163, allocations: 288.2 kB / 0.6691 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.5163, allocations: 6.969 kB / 0.6691 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.5163, allocations: 2.594 kB / 0.6691 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.5164, allocations: 2.781 kB / 0.6691 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.5167, allocations: 70.25 kB / 0.6692 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.5167, allocations: 2.188 kB / 0.6692 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.5169, allocations: 34.25 kB / 0.6692 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.517, allocations: 9.375 kB / 0.6692 GB, free: 3.441 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 0.0001076/0.5171, allocations: 144.8 kB / 0.6693 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.5172, allocations: 28.5 kB / 0.6694 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007211/0.5179, allocations: 290.5 kB / 0.6696 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.5179, allocations: 2.594 kB / 0.6696 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.518, allocations: 4 kB / 0.6697 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.518, allocations: 5.125 kB / 0.6697 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003548/0.5183, allocations: 297.7 kB / 0.6699 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.5183, allocations: 1.469 kB / 0.6699 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.5186, allocations: 57.48 kB / 0.67 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.5186, allocations: 5.5 kB / 0.67 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.5186, allocations: 1.156 kB / 0.67 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.5186, allocations: 5.141 kB / 0.67 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5186, allocations: 1.344 kB / 0.67 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006902/0.5193, allocations: 437.8 kB / 0.6704 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/0.5194, allocations: 112.8 kB / 0.6705 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.5194, allocations: 5.578 kB / 0.6705 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.5197, allocations: 29.45 kB / 0.6706 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.011e-05/0.5197, allocations: 24.41 kB / 0.6706 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.5198, allocations: 8.094 kB / 0.6706 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001425/0.5199, allocations: 186.1 kB / 0.6708 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5199, allocations: 0 / 0.6708 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003568/0.5203, allocations: 57.72 kB / 0.6708 GB, free: 2.18 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0001658/0.5204, allocations: 113.1 kB / 0.6709 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006859/0.5211, allocations: 229 kB / 0.6712 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5211, allocations: 1.062 kB / 0.6712 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000304/0.5215, allocations: 120.8 kB / 0.6713 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005174/0.522, allocations: 80.84 kB / 0.6714 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007832/0.5228, allocations: 433.8 kB / 0.6718 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.523, allocations: 0.7542 MB / 0.6725 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001288/0.5231, allocations: 33.28 kB / 0.6725 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.698e-05/0.5232, allocations: 21.19 kB / 0.6726 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.5232, allocations: 0 / 0.6726 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of Templates: time 0.008197/0.5314, allocations: 3.966 MB / 0.6764 GB, free: 14.9 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)