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.005438/0.005438, allocations: 100.8 kB / 15.73 MB, free: 5.988 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.00129/0.00129, allocations: 197 kB / 16.67 MB, free: 5.926 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9154/0.9154, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.84 kB / 0.5856 GB, free: 3.32 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4258/0.4272, allocations: 80.91 MB / 0.6646 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005208/0.4324, allocations: 4.54 MB / 0.6691 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.4336, allocations: 0.8251 MB / 0.6699 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.641e-05/0.4337, allocations: 1.5 kB / 0.6699 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.4339, allocations: 37.8 kB / 0.6699 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.558e-05/0.434, allocations: 32.36 kB / 0.67 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005278/0.4345, allocations: 170.7 kB / 0.6701 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.4347, allocations: 177.9 kB / 0.6703 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.4348, allocations: 18.17 kB / 0.6703 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.435, allocations: 81.12 kB / 0.6704 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.4351, allocations: 84.06 kB / 0.6705 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.4352, allocations: 12.72 kB / 0.6705 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003488/0.4355, allocations: 150.2 kB / 0.6706 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.168e-05/0.4356, allocations: 31.8 kB / 0.6706 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.176e-05/0.4356, allocations: 72.75 kB / 0.6707 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.436, allocations: 241 kB / 0.6709 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.436, allocations: 1.594 kB / 0.6709 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.625e-06/0.436, allocations: 0 / 0.6709 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.436, allocations: 3.938 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.0008494/0.4369, allocations: 475.6 kB / 0.6714 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.437, allocations: 9.969 kB / 0.6714 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.544e-05/0.437, allocations: 15.06 kB / 0.6714 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.4372, allocations: 182.6 kB / 0.6716 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.4372, allocations: 13.66 kB / 0.6716 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.4372, allocations: 10.97 kB / 0.6716 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.4375, allocations: 126.3 kB / 0.6717 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.4376, allocations: 0 / 0.6717 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.4376, allocations: 5.438 kB / 0.6718 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.4376, allocations: 2.375 kB / 0.6718 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000357/0.4379, allocations: 143.2 kB / 0.6719 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008526/0.4388, allocations: 457.9 kB / 0.6723 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/0.4391, allocations: 130.2 kB / 0.6725 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.4393, allocations: 71.44 kB / 0.6725 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/0.4404, allocations: 0.9686 MB / 0.6735 GB, free: 200 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.4404, allocations: 35.56 kB / 0.6735 GB, free: 156 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.4404, allocations: 0 / 0.6735 GB, free: 156 kB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006295/0.4411, allocations: 210.8 kB / 0.6737 GB, free: 40 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.4412, allocations: 56.56 kB / 0.6738 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.4413, allocations: 159.5 kB / 0.6739 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.4414, allocations: 26.92 kB / 0.6739 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.902e-05/0.4415, allocations: 117.8 kB / 0.674 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.4415, allocations: 43.61 kB / 0.6741 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.272e-05/0.4416, allocations: 52.61 kB / 0.6741 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.4417, allocations: 320.9 kB / 0.6744 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.4419, allocations: 81.12 kB / 0.6745 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.4422, allocations: 107.3 kB / 0.6746 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.4426, allocations: 174 kB / 0.6748 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4426, allocations: 0 / 0.6748 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005342/0.4431, allocations: 248.5 kB / 0.675 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.4431, allocations: 5.5 kB / 0.675 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.4432, allocations: 1.156 kB / 0.675 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.4432, allocations: 2.125 kB / 0.675 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.4434, allocations: 52.22 kB / 0.6751 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.4435, allocations: 2.406 kB / 0.6751 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.4436, allocations: 38.78 kB / 0.6751 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/0.4437, allocations: 10.62 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.0001362/0.4438, allocations: 128.1 kB / 0.6753 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.4439, allocations: 13.12 kB / 0.6753 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005472/0.4444, allocations: 181.6 kB / 0.6754 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.4444, allocations: 5.062 kB / 0.6754 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.4445, allocations: 0 / 0.6754 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.4445, allocations: 1.125 kB / 0.6754 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.4448, allocations: 209.4 kB / 0.6756 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.4448, allocations: 0 / 0.6756 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.445, allocations: 37.75 kB / 0.6757 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.445, allocations: 1.125 kB / 0.6757 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.445, allocations: 1.031 kB / 0.6757 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.445, allocations: 5.031 kB / 0.6757 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.445, allocations: 0 / 0.6757 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005157/0.4455, allocations: 261.3 kB / 0.6759 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.4457, allocations: 100.8 kB / 0.676 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.4457, allocations: 13.17 kB / 0.676 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.4458, allocations: 16.14 kB / 0.6761 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.24e-05/0.4459, allocations: 15.86 kB / 0.6761 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.4459, allocations: 1.938 kB / 0.6761 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001199/0.4461, allocations: 117.7 kB / 0.6762 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4461, allocations: 0 / 0.6762 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004825/0.4466, allocations: 60.83 kB / 0.6763 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.0005071/0.4471, allocations: 162.9 kB / 0.6764 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006561/0.4478, allocations: 166.2 kB / 0.6766 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.4478, allocations: 0 / 0.6766 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002323/0.448, allocations: 70.95 kB / 0.6766 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.4484, allocations: 20.66 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.0008239/0.4493, allocations: 253.5 kB / 0.6769 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006317/0.4499, allocations: 0.7024 MB / 0.6776 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001155/0.45, allocations: 17.92 kB / 0.6776 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.35e-05/0.4501, allocations: 19.09 kB / 0.6776 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.4501, allocations: 0 / 0.6776 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.00663/0.4568, allocations: 2.75 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)