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.0008384/0.0008386, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005647/0.005648, allocations: 169 kB / 16.26 MB, free: 6.652 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.418/1.418, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8155/0.8155, allocations: 132.4 MB / 423.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004031, allocations: 13.81 kB / 0.504 GB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4515/0.4519, allocations: 81.57 MB / 0.5837 GB, free: 4.312 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00522/0.4572, allocations: 4.202 MB / 0.5878 GB, free: 1.234 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.4584, allocations: 0.8174 MB / 0.5886 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.791e-05/0.4585, allocations: 4.594 kB / 0.5886 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.4587, allocations: 23.52 kB / 0.5886 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.839e-05/0.4588, allocations: 27.77 kB / 0.5886 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005443/0.4593, allocations: 148 kB / 0.5888 GB, free: 0.543 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.4596, allocations: 169.6 kB / 0.5889 GB, free: 476 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.4597, allocations: 11.55 kB / 0.5889 GB, free: 476 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.4599, allocations: 75.09 kB / 0.589 GB, free: 444 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.4601, allocations: 75.11 kB / 0.5891 GB, free: 412 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.4601, allocations: 6.75 kB / 0.5891 GB, free: 412 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000361/0.4605, allocations: 147.1 kB / 0.5892 GB, free: 364 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.7e-05/0.4605, allocations: 28.09 kB / 0.5893 GB, free: 348 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.57e-05/0.4606, allocations: 86.2 kB / 0.5893 GB, free: 284 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004044/0.461, allocations: 229.1 kB / 0.5896 GB, free: 212 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.461, allocations: 0.9688 kB / 0.5896 GB, free: 212 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.461, allocations: 0 / 0.5896 GB, free: 212 kB / 430.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.461, allocations: 0 / 0.5896 GB, free: 212 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.0009773/0.462, allocations: 467.3 kB / 0.59 GB, free: 15.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.4621, allocations: 10.41 kB / 0.59 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.682e-05/0.4621, allocations: 11.06 kB / 0.59 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.4624, allocations: 184.9 kB / 0.5902 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.4624, allocations: 13.73 kB / 0.5902 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/0.4625, allocations: 18.97 kB / 0.5902 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005118/0.463, allocations: 133.3 kB / 0.5904 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.463, allocations: 1.219 kB / 0.5904 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.463, allocations: 4 kB / 0.5904 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.463, allocations: 2.188 kB / 0.5904 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005613/0.4636, allocations: 162 kB / 0.5905 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.4649, allocations: 475.4 kB / 0.591 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/0.4653, allocations: 137.3 kB / 0.5911 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002722/0.4656, allocations: 86.03 kB / 0.5912 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001758/0.4673, allocations: 0.9577 MB / 0.5921 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.4674, allocations: 35.12 kB / 0.5922 GB, free: 14.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 2.535e-06/0.4674, allocations: 0.8438 kB / 0.5922 GB, free: 14.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008946/0.4683, allocations: 246.2 kB / 0.5924 GB, free: 13.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.4684, allocations: 58.06 kB / 0.5925 GB, free: 13.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.4686, allocations: 163.7 kB / 0.5926 GB, free: 13.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.4686, allocations: 30.36 kB / 0.5926 GB, free: 13.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.106e-05/0.4687, allocations: 112.9 kB / 0.5927 GB, free: 13.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.4687, allocations: 35.56 kB / 0.5928 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.404e-05/0.4688, allocations: 29.72 kB / 0.5928 GB, free: 13.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.4689, allocations: 329.8 kB / 0.5931 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.4692, allocations: 81 kB / 0.5932 GB, free: 13.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/0.4695, allocations: 123.8 kB / 0.5933 GB, free: 13.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005109/0.47, allocations: 194 kB / 0.5935 GB, free: 13.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.4701, allocations: 5.375 kB / 0.5935 GB, free: 13.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006733/0.4707, allocations: 257.2 kB / 0.5938 GB, free: 13.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.4708, allocations: 9 kB / 0.5938 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.4708, allocations: 1.438 kB / 0.5938 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.4708, allocations: 6.734 kB / 0.5938 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/0.4711, allocations: 59.3 kB / 0.5938 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.4711, allocations: 6.172 kB / 0.5938 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.4713, allocations: 40.52 kB / 0.5939 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.4714, allocations: 7.141 kB / 0.5939 GB, free: 12.98 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 0.0001206/0.4715, allocations: 127.7 kB / 0.594 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.4715, allocations: 18.56 kB / 0.594 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005737/0.4721, allocations: 198.9 kB / 0.5942 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.4721, allocations: 1.688 kB / 0.5942 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4721, allocations: 4.75 kB / 0.5942 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.4722, allocations: 9.609 kB / 0.5942 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.4724, allocations: 218 kB / 0.5944 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4724, allocations: 0 / 0.5944 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.4726, allocations: 33.55 kB / 0.5945 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.4726, allocations: 6.547 kB / 0.5945 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.4726, allocations: 0 / 0.5945 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.4726, allocations: 1.406 kB / 0.5945 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4726, allocations: 4.609 kB / 0.5945 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005347/0.4732, allocations: 286.2 kB / 0.5947 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.362e-05/0.4733, allocations: 103.1 kB / 0.5948 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.4733, allocations: 1.547 kB / 0.5948 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.4734, allocations: 20.73 kB / 0.5949 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/0.4735, allocations: 8.328 kB / 0.5949 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.4735, allocations: 6.375 kB / 0.5949 GB, free: 12.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.4737, allocations: 119.2 kB / 0.595 GB, free: 12.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4737, allocations: 0.5625 kB / 0.595 GB, free: 12.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004154/0.4741, allocations: 55.42 kB / 0.595 GB, free: 12.13 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.0003574/0.4744, allocations: 158.8 kB / 0.5952 GB, free: 12.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005955/0.4751, allocations: 205.3 kB / 0.5954 GB, free: 11.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4751, allocations: 0 / 0.5954 GB, free: 11.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.4753, allocations: 77.69 kB / 0.5955 GB, free: 11.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.4757, allocations: 15.94 kB / 0.5955 GB, free: 11.94 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005526/0.4763, allocations: 304.9 kB / 0.5958 GB, free: 11.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.4766, allocations: 0.7029 MB / 0.5965 GB, free: 11.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.4767, allocations: 22.55 kB / 0.5965 GB, free: 11.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.603e-05/0.4767, allocations: 21.11 kB / 0.5965 GB, free: 11.01 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4767, allocations: 3.938 kB / 0.5965 GB, free: 11 MB / 446.1 MB Notification: Performance of Templates: time 0.006591/0.4833, allocations: 2.522 MB / 0.599 GB, free: 10.25 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)