Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001375/0.001375, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001533/0.001533, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.277/1.277, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002119/0.002119, allocations: 295.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9178/0.9178, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 95.86 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4421/0.4438, allocations: 86.97 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006118/0.4499, allocations: 4.55 MB / 0.7715 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.4513, allocations: 0.8186 MB / 0.7723 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.4515, allocations: 0 / 0.7723 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002181/0.4517, allocations: 31.77 kB / 0.7723 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.4519, allocations: 31.7 kB / 0.7724 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007178/0.4526, allocations: 171.4 kB / 0.7725 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002816/0.4529, allocations: 179.3 kB / 0.7727 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.453, allocations: 17.11 kB / 0.7727 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002564/0.4533, allocations: 79.75 kB / 0.7728 GB, free: 14.03 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.4534, allocations: 79.72 kB / 0.7729 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.699e-05/0.4535, allocations: 12 kB / 0.7729 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004558/0.4539, allocations: 151.8 kB / 0.773 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.348e-05/0.454, allocations: 43.77 kB / 0.7731 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.648e-05/0.4541, allocations: 63.72 kB / 0.7731 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005218/0.4546, allocations: 233.6 kB / 0.7733 GB, free: 13.46 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4547, allocations: 0 / 0.7733 GB, free: 13.46 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4547, allocations: 0 / 0.7733 GB, free: 13.46 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.4547, allocations: 4 kB / 0.7733 GB, free: 13.46 MB / 0.545 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.000917/0.4556, allocations: 482.9 kB / 0.7738 GB, free: 12.94 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.4556, allocations: 8.031 kB / 0.7738 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.426e-05/0.4557, allocations: 12.84 kB / 0.7738 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.4558, allocations: 188 kB / 0.774 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.4559, allocations: 16.38 kB / 0.774 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.4559, allocations: 8.375 kB / 0.774 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.4562, allocations: 125.6 kB / 0.7741 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4562, allocations: 3.984 kB / 0.7741 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.4563, allocations: 7.984 kB / 0.7742 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.4563, allocations: 4 kB / 0.7742 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003958/0.4567, allocations: 139.9 kB / 0.7743 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009412/0.4576, allocations: 464.4 kB / 0.7747 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.4579, allocations: 126.5 kB / 0.7749 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.4581, allocations: 76.8 kB / 0.7749 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001359/0.4595, allocations: 0.9648 MB / 0.7759 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.4595, allocations: 30.56 kB / 0.7759 GB, free: 10.54 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.4595, allocations: 0 / 0.7759 GB, free: 10.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0006539/0.4602, allocations: 205.4 kB / 0.7761 GB, free: 10.33 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.4602, allocations: 67.33 kB / 0.7762 GB, free: 10.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.4604, allocations: 163 kB / 0.7763 GB, free: 10.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.4604, allocations: 29.7 kB / 0.7763 GB, free: 10.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.236e-05/0.4605, allocations: 112.3 kB / 0.7765 GB, free: 9.938 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.4605, allocations: 35.45 kB / 0.7765 GB, free: 9.902 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.263e-05/0.4606, allocations: 45.7 kB / 0.7765 GB, free: 9.852 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4607, allocations: 326.8 kB / 0.7768 GB, free: 9.523 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.4609, allocations: 75.94 kB / 0.7769 GB, free: 9.449 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.4612, allocations: 109.8 kB / 0.777 GB, free: 9.332 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004036/0.4616, allocations: 178.1 kB / 0.7772 GB, free: 9.148 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4616, allocations: 0 / 0.7772 GB, free: 9.148 MB / 0.545 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005445/0.4621, allocations: 239.3 kB / 0.7774 GB, free: 8.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.4622, allocations: 10.66 kB / 0.7774 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.4622, allocations: 4 kB / 0.7774 GB, free: 8.898 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.4622, allocations: 7.938 kB / 0.7774 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.4625, allocations: 59.89 kB / 0.7775 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.4625, allocations: 0 / 0.7775 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.4626, allocations: 31.77 kB / 0.7775 GB, free: 8.801 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.4627, allocations: 8 kB / 0.7775 GB, free: 8.793 MB / 0.545 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.000109/0.4628, allocations: 133.8 kB / 0.7777 GB, free: 8.652 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.4628, allocations: 15.75 kB / 0.7777 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004745/0.4633, allocations: 174.9 kB / 0.7778 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.4633, allocations: 0 / 0.7778 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4633, allocations: 0 / 0.7778 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4633, allocations: 3.938 kB / 0.7778 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.4636, allocations: 225.5 kB / 0.7781 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4636, allocations: 0 / 0.7781 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.4637, allocations: 27.97 kB / 0.7781 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.4638, allocations: 0 / 0.7781 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.4638, allocations: 7.938 kB / 0.7781 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4638, allocations: 0 / 0.7781 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4638, allocations: 0 / 0.7781 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004327/0.4642, allocations: 255.9 kB / 0.7783 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.9e-05/0.4643, allocations: 100.8 kB / 0.7784 GB, free: 7.766 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.4643, allocations: 15.86 kB / 0.7785 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.4645, allocations: 11.98 kB / 0.7785 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.4645, allocations: 11.98 kB / 0.7785 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.4645, allocations: 0 / 0.7785 GB, free: 7.727 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.622e-05/0.4646, allocations: 121.8 kB / 0.7786 GB, free: 7.609 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4646, allocations: 0 / 0.7786 GB, free: 7.609 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003229/0.465, allocations: 60.12 kB / 0.7786 GB, free: 7.551 MB / 0.545 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.0002518/0.4652, allocations: 155.1 kB / 0.7788 GB, free: 7.387 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004744/0.4657, allocations: 175.8 kB / 0.779 GB, free: 7.215 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4657, allocations: 0 / 0.779 GB, free: 7.215 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.4659, allocations: 72.06 kB / 0.779 GB, free: 7.145 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.4663, allocations: 24.88 kB / 0.7791 GB, free: 7.121 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004448/0.4667, allocations: 270.9 kB / 0.7793 GB, free: 6.828 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.467, allocations: 0.7084 MB / 0.78 GB, free: 6.094 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.629e-05/0.4671, allocations: 15.44 kB / 0.78 GB, free: 6.078 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.4671, allocations: 0 / 0.78 GB, free: 6.078 MB / 0.545 GB Notification: Performance of Templates: time 0.004552/0.4716, allocations: 2.549 MB / 0.7825 GB, free: 3.543 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)