Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0007683/0.0007683, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.000854/0.000854, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7443/0.7443, allocations: 132.4 MB / 423.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003133, allocations: 8.688 kB / 0.5034 GB, free: 4.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3475, allocations: 81.58 MB / 0.5831 GB, free: 4.219 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.003758/0.3513, allocations: 4.061 MB / 0.587 GB, free: 1.266 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007704/0.3521, allocations: 0.7617 MB / 0.5878 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.143e-05/0.3522, allocations: 0 / 0.5878 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.3523, allocations: 26.3 kB / 0.5878 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.985e-05/0.3523, allocations: 32.12 kB / 0.5878 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.3527, allocations: 126.6 kB / 0.588 GB, free: 0.625 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.3529, allocations: 161 kB / 0.5881 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.33e-05/0.353, allocations: 11.73 kB / 0.5881 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.3531, allocations: 76 kB / 0.5882 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.276e-05/0.3532, allocations: 70.58 kB / 0.5883 GB, free: 500 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.3532, allocations: 6.438 kB / 0.5883 GB, free: 500 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002754/0.3535, allocations: 119.8 kB / 0.5884 GB, free: 468 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.903e-05/0.3535, allocations: 24.14 kB / 0.5884 GB, free: 456 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.183e-05/0.3536, allocations: 46.11 kB / 0.5885 GB, free: 416 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.3538, allocations: 158.8 kB / 0.5886 GB, free: 376 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3538, allocations: 0 / 0.5886 GB, free: 376 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3538, allocations: 0 / 0.5886 GB, free: 376 kB / 430.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.3538, allocations: 0 / 0.5886 GB, free: 376 kB / 430.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.0006937/0.3545, allocations: 473.1 kB / 0.5891 GB, free: 15.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.3546, allocations: 13.16 kB / 0.5891 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.3546, allocations: 14.12 kB / 0.5891 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.3548, allocations: 184.3 kB / 0.5893 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.3548, allocations: 7.719 kB / 0.5893 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.3548, allocations: 11.22 kB / 0.5893 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.3552, allocations: 129 kB / 0.5894 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.3552, allocations: 0 / 0.5894 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.3552, allocations: 8.875 kB / 0.5894 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3552, allocations: 5.5 kB / 0.5894 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004352/0.3556, allocations: 166 kB / 0.5896 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009308/0.3566, allocations: 470.5 kB / 0.59 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.3569, allocations: 136.2 kB / 0.5902 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.3571, allocations: 82.7 kB / 0.5902 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001223/0.3583, allocations: 0.9572 MB / 0.5912 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.3584, allocations: 35.97 kB / 0.5912 GB, free: 14.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.223e-06/0.3584, allocations: 0 / 0.5912 GB, free: 14.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006637/0.359, allocations: 240.6 kB / 0.5914 GB, free: 14.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.3591, allocations: 54.23 kB / 0.5915 GB, free: 14.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.3592, allocations: 163.6 kB / 0.5916 GB, free: 13.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.3593, allocations: 34.23 kB / 0.5917 GB, free: 13.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.336e-05/0.3593, allocations: 109.2 kB / 0.5918 GB, free: 13.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.3594, allocations: 35.2 kB / 0.5918 GB, free: 13.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.301e-05/0.3594, allocations: 6 kB / 0.5918 GB, free: 13.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.988e-05/0.3595, allocations: 325.3 kB / 0.5921 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.3597, allocations: 88.55 kB / 0.5922 GB, free: 13.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.36, allocations: 115.1 kB / 0.5923 GB, free: 13.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.3602, allocations: 94.92 kB / 0.5924 GB, free: 13.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3602, allocations: 3.938 kB / 0.5924 GB, free: 13.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005849/0.3608, allocations: 267.9 kB / 0.5927 GB, free: 13.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.3609, allocations: 9.219 kB / 0.5927 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3609, allocations: 0.9375 kB / 0.5927 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3609, allocations: 2.922 kB / 0.5927 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.3612, allocations: 59.41 kB / 0.5927 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3612, allocations: 2.422 kB / 0.5927 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.3614, allocations: 32.42 kB / 0.5928 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.3614, allocations: 10.86 kB / 0.5928 GB, free: 13.22 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.274e-05/0.3615, allocations: 132.3 kB / 0.5929 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.3615, allocations: 20.38 kB / 0.5929 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004867/0.362, allocations: 199.3 kB / 0.5931 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.362, allocations: 1.438 kB / 0.5931 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.362, allocations: 0.8438 kB / 0.5931 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3621, allocations: 1.156 kB / 0.5931 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.3623, allocations: 223.2 kB / 0.5933 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3623, allocations: 4 kB / 0.5933 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.3625, allocations: 37 kB / 0.5934 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3625, allocations: 5.125 kB / 0.5934 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.3625, allocations: 5.5 kB / 0.5934 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3625, allocations: 1.75 kB / 0.5934 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3625, allocations: 0 / 0.5934 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004524/0.363, allocations: 280.1 kB / 0.5937 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.871e-05/0.363, allocations: 102.7 kB / 0.5938 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.3631, allocations: 1.906 kB / 0.5938 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.3632, allocations: 20.53 kB / 0.5938 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.3633, allocations: 7.984 kB / 0.5938 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.3633, allocations: 4.328 kB / 0.5938 GB, free: 12.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.753e-05/0.3634, allocations: 117 kB / 0.5939 GB, free: 12.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3634, allocations: 4 kB / 0.5939 GB, free: 12.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003359/0.3637, allocations: 62.42 kB / 0.594 GB, free: 12.37 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002298/0.364, allocations: 149.4 kB / 0.5941 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005117/0.3645, allocations: 200.9 kB / 0.5943 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3645, allocations: 0 / 0.5943 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000211/0.3647, allocations: 77.27 kB / 0.5944 GB, free: 12.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.3651, allocations: 32.47 kB / 0.5944 GB, free: 12.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/0.3656, allocations: 355.6 kB / 0.5947 GB, free: 11.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.3658, allocations: 0.7036 MB / 0.5954 GB, free: 11.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.3659, allocations: 20.66 kB / 0.5954 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.995e-05/0.366, allocations: 20.47 kB / 0.5955 GB, free: 11.24 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.366, allocations: 0 / 0.5955 GB, free: 11.24 MB / 446.1 MB Notification: Performance of Templates: time 0.005557/0.3715, allocations: 2.466 MB / 0.5979 GB, free: 10.58 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)