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.001353/0.001353, allocations: 106.4 kB / 16.37 MB, free: 6.438 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.001345/0.001345, allocations: 189.1 kB / 17.3 MB, free: 5.781 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.281/1.281, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7907/0.7907, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 63.91 kB / 0.5068 GB, free: 7.641 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3657, allocations: 80.91 MB / 0.5858 GB, free: 25.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004732/0.3704, allocations: 4.531 MB / 0.5902 GB, free: 21.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007951/0.3713, allocations: 0.8311 MB / 0.591 GB, free: 21.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.549e-05/0.3713, allocations: 1.344 kB / 0.591 GB, free: 21.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.3715, allocations: 24.91 kB / 0.591 GB, free: 21.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.737e-05/0.3716, allocations: 34.02 kB / 0.5911 GB, free: 21.08 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.372, allocations: 176.5 kB / 0.5912 GB, free: 20.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.3722, allocations: 175.4 kB / 0.5914 GB, free: 20.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.986e-05/0.3723, allocations: 15.5 kB / 0.5914 GB, free: 20.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.3724, allocations: 83.73 kB / 0.5915 GB, free: 20.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.649e-05/0.3725, allocations: 75.67 kB / 0.5916 GB, free: 20.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.3725, allocations: 17.84 kB / 0.5916 GB, free: 20.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002563/0.3728, allocations: 147.8 kB / 0.5917 GB, free: 20.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.588e-05/0.3728, allocations: 31.91 kB / 0.5918 GB, free: 20.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.074e-05/0.3729, allocations: 71.64 kB / 0.5918 GB, free: 20.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.3731, allocations: 245.6 kB / 0.5921 GB, free: 20.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.3731, allocations: 4 kB / 0.5921 GB, free: 20.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3731, allocations: 0.5625 kB / 0.5921 GB, free: 20.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.3732, allocations: 0 / 0.5921 GB, free: 20.07 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000682/0.3738, allocations: 477.9 kB / 0.5925 GB, free: 19.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.3739, allocations: 9.109 kB / 0.5925 GB, free: 19.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/0.3739, allocations: 21.38 kB / 0.5925 GB, free: 19.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.139e-05/0.374, allocations: 192.7 kB / 0.5927 GB, free: 19.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.374, allocations: 6.219 kB / 0.5927 GB, free: 19.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.3741, allocations: 15.94 kB / 0.5928 GB, free: 19.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.3743, allocations: 116.9 kB / 0.5929 GB, free: 19.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.3744, allocations: 0 / 0.5929 GB, free: 19.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.3744, allocations: 8 kB / 0.5929 GB, free: 19.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3744, allocations: 0 / 0.5929 GB, free: 19.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003266/0.3747, allocations: 141.5 kB / 0.593 GB, free: 19.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007647/0.3755, allocations: 464.7 kB / 0.5934 GB, free: 18.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.3757, allocations: 126 kB / 0.5936 GB, free: 18.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.3759, allocations: 72.81 kB / 0.5936 GB, free: 18.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/0.3769, allocations: 0.9614 MB / 0.5946 GB, free: 17.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.377, allocations: 39.31 kB / 0.5946 GB, free: 17.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.163e-06/0.377, allocations: 0 / 0.5946 GB, free: 17.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005509/0.3775, allocations: 208.2 kB / 0.5948 GB, free: 16.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.3776, allocations: 59.41 kB / 0.5949 GB, free: 16.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.469e-05/0.3777, allocations: 161.8 kB / 0.595 GB, free: 16.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.3777, allocations: 33.7 kB / 0.5951 GB, free: 16.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.3777, allocations: 113.5 kB / 0.5952 GB, free: 16.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.3777, allocations: 35.47 kB / 0.5952 GB, free: 16.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.26e-05/0.3778, allocations: 49.69 kB / 0.5952 GB, free: 16.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.268e-05/0.3779, allocations: 323.6 kB / 0.5956 GB, free: 16.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.3781, allocations: 69.02 kB / 0.5956 GB, free: 16.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.3783, allocations: 118.8 kB / 0.5957 GB, free: 15.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003331/0.3786, allocations: 171.9 kB / 0.5959 GB, free: 15.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3786, allocations: 5.438 kB / 0.5959 GB, free: 15.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004664/0.3791, allocations: 247.6 kB / 0.5961 GB, free: 15.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3791, allocations: 7.938 kB / 0.5961 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.3791, allocations: 0 / 0.5961 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3791, allocations: 4 kB / 0.5962 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.3794, allocations: 59.89 kB / 0.5962 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3794, allocations: 4 kB / 0.5962 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.3796, allocations: 33.27 kB / 0.5962 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.3796, allocations: 11.94 kB / 0.5963 GB, free: 15.44 MB / 446.1 MB 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 6.653e-05/0.3797, allocations: 127 kB / 0.5964 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.3797, allocations: 15.84 kB / 0.5964 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004033/0.3801, allocations: 180.1 kB / 0.5966 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3801, allocations: 0 / 0.5966 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3801, allocations: 4.625 kB / 0.5966 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3801, allocations: 3.984 kB / 0.5966 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.3803, allocations: 219 kB / 0.5968 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3803, allocations: 3.938 kB / 0.5968 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.3805, allocations: 23.98 kB / 0.5968 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3805, allocations: 4.938 kB / 0.5968 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.3805, allocations: 11.98 kB / 0.5968 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3805, allocations: 0 / 0.5968 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3805, allocations: 1.312 kB / 0.5968 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.3809, allocations: 249.2 kB / 0.5971 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/0.3809, allocations: 108.8 kB / 0.5972 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.3809, allocations: 0.7188 kB / 0.5972 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.3811, allocations: 17.36 kB / 0.5972 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.3811, allocations: 7.984 kB / 0.5972 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.3811, allocations: 0 / 0.5972 GB, free: 14.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.017e-05/0.3812, allocations: 122.4 kB / 0.5973 GB, free: 14.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3812, allocations: 6.406 kB / 0.5973 GB, free: 14.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003082/0.3815, allocations: 60.11 kB / 0.5974 GB, free: 14.22 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 (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.0002141/0.3817, allocations: 162.3 kB / 0.5975 GB, free: 14.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004301/0.3822, allocations: 169.6 kB / 0.5977 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3822, allocations: 1.125 kB / 0.5977 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.3824, allocations: 69.39 kB / 0.5978 GB, free: 13.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.3827, allocations: 24.98 kB / 0.5978 GB, free: 13.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003784/0.3831, allocations: 248.3 kB / 0.598 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.848e-05/0.3832, allocations: 0.7101 MB / 0.5987 GB, free: 12.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.372e-05/0.3833, allocations: 17.48 kB / 0.5987 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.412e-05/0.3833, allocations: 19.38 kB / 0.5987 GB, free: 12.77 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3833, allocations: 0 / 0.5987 GB, free: 12.77 MB / 446.1 MB Notification: Performance of Templates: time 0.004749/0.3881, allocations: 2.724 MB / 0.6014 GB, free: 10.09 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)