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.005298/0.005298, allocations: 104.2 kB / 15.73 MB, free: 6.039 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.001192/0.001193, allocations: 194.9 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9871/0.9871, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 67.89 kB / 0.5856 GB, free: 3.367 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4545/0.4557, allocations: 80.9 MB / 0.6646 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005165/0.4609, allocations: 4.55 MB / 0.6691 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000968/0.4619, allocations: 0.8252 MB / 0.6699 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.131e-05/0.462, allocations: 5.062 kB / 0.6699 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.4622, allocations: 34.11 kB / 0.6699 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.382e-05/0.4623, allocations: 35.86 kB / 0.67 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000482/0.4628, allocations: 171.8 kB / 0.6701 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.463, allocations: 177.7 kB / 0.6703 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.4631, allocations: 10.22 kB / 0.6703 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.4633, allocations: 84.53 kB / 0.6704 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.4634, allocations: 84 kB / 0.6705 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.4634, allocations: 13.38 kB / 0.6705 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000361/0.4638, allocations: 154.2 kB / 0.6706 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.888e-05/0.4639, allocations: 31.78 kB / 0.6707 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.56e-05/0.4639, allocations: 71.36 kB / 0.6707 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004119/0.4644, allocations: 234.6 kB / 0.6709 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.4644, allocations: 3.938 kB / 0.671 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.508e-06/0.4644, allocations: 0 / 0.671 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.4644, allocations: 5.062 kB / 0.671 GB, free: 2.551 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.001006/0.4654, allocations: 475.2 kB / 0.6714 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.246e-05/0.4655, allocations: 10.16 kB / 0.6714 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.311e-05/0.4656, allocations: 15.56 kB / 0.6714 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.4657, allocations: 184.6 kB / 0.6716 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.4657, allocations: 13.12 kB / 0.6716 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/0.4658, allocations: 11.94 kB / 0.6716 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000365/0.4661, allocations: 119.7 kB / 0.6717 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.4661, allocations: 3.938 kB / 0.6718 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.4662, allocations: 0.8125 kB / 0.6718 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.4662, allocations: 2.312 kB / 0.6718 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004229/0.4666, allocations: 144.2 kB / 0.6719 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.4676, allocations: 457.3 kB / 0.6723 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.468, allocations: 125.9 kB / 0.6724 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/0.4682, allocations: 75.5 kB / 0.6725 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001378/0.4696, allocations: 0.9686 MB / 0.6735 GB, free: 200 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.4697, allocations: 35.69 kB / 0.6735 GB, free: 156 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/0.4697, allocations: 0 / 0.6735 GB, free: 156 kB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007542/0.4704, allocations: 210 kB / 0.6737 GB, free: 40 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.953e-05/0.4705, allocations: 53.78 kB / 0.6738 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.4707, allocations: 159.5 kB / 0.6739 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.4707, allocations: 26.95 kB / 0.6739 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.008e-05/0.4708, allocations: 124.4 kB / 0.674 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.4708, allocations: 40.73 kB / 0.6741 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.787e-05/0.4709, allocations: 47.45 kB / 0.6741 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.4711, allocations: 322.7 kB / 0.6744 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/0.4713, allocations: 79.56 kB / 0.6745 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/0.4717, allocations: 116.5 kB / 0.6746 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004943/0.4722, allocations: 165.8 kB / 0.6748 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4722, allocations: 5.656 kB / 0.6748 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000632/0.4728, allocations: 245.6 kB / 0.675 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.4728, allocations: 5.75 kB / 0.675 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.4729, allocations: 1.062 kB / 0.675 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.4729, allocations: 2.438 kB / 0.675 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.4732, allocations: 56.88 kB / 0.6751 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.4732, allocations: 2.062 kB / 0.6751 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.4734, allocations: 34.56 kB / 0.6751 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.4734, allocations: 9.844 kB / 0.6751 GB, free: 14.91 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.000123/0.4735, allocations: 129.3 kB / 0.6753 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.4736, allocations: 16.3 kB / 0.6753 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005095/0.4741, allocations: 180.7 kB / 0.6754 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.4741, allocations: 2.531 kB / 0.6754 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4741, allocations: 0 / 0.6754 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.4741, allocations: 0 / 0.6754 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.4744, allocations: 214.8 kB / 0.6757 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4744, allocations: 0 / 0.6757 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.4746, allocations: 41.5 kB / 0.6757 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.4746, allocations: 1.156 kB / 0.6757 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.4746, allocations: 5.188 kB / 0.6757 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4746, allocations: 0 / 0.6757 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4746, allocations: 1.156 kB / 0.6757 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004905/0.4751, allocations: 251.7 kB / 0.6759 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.721e-05/0.4752, allocations: 105.8 kB / 0.676 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.4753, allocations: 4.969 kB / 0.676 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.4754, allocations: 11.23 kB / 0.6761 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.925e-05/0.4755, allocations: 16.55 kB / 0.6761 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.4755, allocations: 6.781 kB / 0.6761 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.798e-05/0.4756, allocations: 117.4 kB / 0.6762 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4756, allocations: 0 / 0.6762 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003757/0.476, allocations: 60.2 kB / 0.6762 GB, free: 13.96 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.0003461/0.4763, allocations: 162.3 kB / 0.6764 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005457/0.4769, allocations: 165.9 kB / 0.6766 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4769, allocations: 5.5 kB / 0.6766 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.4771, allocations: 66.55 kB / 0.6766 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.4776, allocations: 26.69 kB / 0.6767 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005519/0.4781, allocations: 260.3 kB / 0.6769 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.4785, allocations: 0.7068 MB / 0.6776 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.747e-05/0.4786, allocations: 17.23 kB / 0.6776 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.043e-05/0.4786, allocations: 15.84 kB / 0.6776 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.4786, allocations: 0 / 0.6776 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.006615/0.4853, allocations: 2.741 MB / 0.6803 GB, free: 11.4 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)