Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005376/0.005376, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001213/0.001213, allocations: 197.7 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9999/0.9999, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.91 kB / 0.5856 GB, free: 3.352 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4447/0.4459, allocations: 80.91 MB / 0.6646 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005267/0.4512, allocations: 4.558 MB / 0.6691 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008803/0.4521, allocations: 0.8174 MB / 0.6699 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.383e-05/0.4522, allocations: 0 / 0.6699 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.4524, allocations: 30.06 kB / 0.6699 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.659e-05/0.4525, allocations: 39.44 kB / 0.67 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004985/0.453, allocations: 166.2 kB / 0.6701 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.4532, allocations: 170.4 kB / 0.6703 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.986e-05/0.4533, allocations: 22.03 kB / 0.6703 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.4535, allocations: 84.27 kB / 0.6704 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.4536, allocations: 76.22 kB / 0.6705 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.4536, allocations: 16.73 kB / 0.6705 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003398/0.454, allocations: 154.3 kB / 0.6706 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.042e-05/0.454, allocations: 28.02 kB / 0.6706 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.568e-05/0.4541, allocations: 70.89 kB / 0.6707 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.4545, allocations: 238.1 kB / 0.6709 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.4545, allocations: 3.938 kB / 0.6709 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4545, allocations: 3.938 kB / 0.6709 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.4545, allocations: 1.625 kB / 0.671 GB, free: 2.555 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009472/0.4555, allocations: 483.5 kB / 0.6714 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.4555, allocations: 8.719 kB / 0.6714 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.225e-05/0.4556, allocations: 15.59 kB / 0.6714 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.4558, allocations: 190.1 kB / 0.6716 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.4558, allocations: 11.5 kB / 0.6716 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.4558, allocations: 15.55 kB / 0.6716 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/0.4562, allocations: 113.2 kB / 0.6717 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.4562, allocations: 3.938 kB / 0.6718 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.4563, allocations: 9.312 kB / 0.6718 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.4563, allocations: 1.281 kB / 0.6718 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004305/0.4567, allocations: 139.4 kB / 0.6719 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.4578, allocations: 466.7 kB / 0.6723 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.4581, allocations: 121.2 kB / 0.6725 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.4583, allocations: 76.5 kB / 0.6725 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/0.4594, allocations: 0.9637 MB / 0.6735 GB, free: 192 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.4594, allocations: 43.7 kB / 0.6735 GB, free: 140 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.4594, allocations: 0 / 0.6735 GB, free: 140 kB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006217/0.46, allocations: 206.5 kB / 0.6737 GB, free: 28 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.4601, allocations: 53 kB / 0.6738 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.4602, allocations: 168.4 kB / 0.6739 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.4603, allocations: 29.7 kB / 0.6739 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.083e-05/0.4604, allocations: 109.7 kB / 0.6741 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.4604, allocations: 44.92 kB / 0.6741 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.82e-05/0.4605, allocations: 56.08 kB / 0.6741 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.4606, allocations: 325.1 kB / 0.6745 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.4608, allocations: 72.25 kB / 0.6745 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.4611, allocations: 108.4 kB / 0.6746 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/0.4615, allocations: 170.5 kB / 0.6748 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4615, allocations: 0 / 0.6748 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005919/0.4621, allocations: 251.6 kB / 0.675 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.4622, allocations: 9.156 kB / 0.675 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4622, allocations: 0.7188 kB / 0.675 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.4622, allocations: 2.031 kB / 0.675 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.4625, allocations: 61.02 kB / 0.6751 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.4625, allocations: 2.625 kB / 0.6751 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.4626, allocations: 38.2 kB / 0.6751 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.4627, allocations: 6.312 kB / 0.6751 GB, free: 14.89 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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.0001028/0.4628, allocations: 124.9 kB / 0.6753 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.4628, allocations: 12.55 kB / 0.6753 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000478/0.4633, allocations: 185 kB / 0.6755 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.4633, allocations: 2.469 kB / 0.6755 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4633, allocations: 0 / 0.6755 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.4633, allocations: 3.984 kB / 0.6755 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.4636, allocations: 219 kB / 0.6757 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.4636, allocations: 0 / 0.6757 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.4637, allocations: 32.95 kB / 0.6757 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.446e-05/0.4638, allocations: 5.453 kB / 0.6757 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.4638, allocations: 1.5 kB / 0.6757 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.4638, allocations: 0 / 0.6757 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4638, allocations: 4 kB / 0.6757 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004227/0.4642, allocations: 252.5 kB / 0.676 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.359e-05/0.4643, allocations: 98.23 kB / 0.676 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.4643, allocations: 5.281 kB / 0.6761 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.4645, allocations: 22.56 kB / 0.6761 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.4645, allocations: 5.344 kB / 0.6761 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.4645, allocations: 6.641 kB / 0.6761 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.655e-05/0.4646, allocations: 119.9 kB / 0.6762 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4646, allocations: 0 / 0.6762 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003324/0.465, allocations: 68.31 kB / 0.6763 GB, free: 13.94 MB / 0.5137 GB 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 (12): * Single equations (assignments): 12 * 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.0002787/0.4652, allocations: 155.6 kB / 0.6764 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004945/0.4658, allocations: 166.8 kB / 0.6766 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4658, allocations: 4 kB / 0.6766 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.466, allocations: 66.36 kB / 0.6766 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.4663, allocations: 36.98 kB / 0.6767 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004845/0.4668, allocations: 247.5 kB / 0.6769 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.4672, allocations: 0.7098 MB / 0.6776 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.392e-05/0.4673, allocations: 25.94 kB / 0.6776 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.054e-05/0.4673, allocations: 15.16 kB / 0.6776 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.4673, allocations: 1.25 kB / 0.6776 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of Templates: time 0.005901/0.4732, allocations: 2.725 MB / 0.6803 GB, free: 11.38 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)