Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001506/0.001506, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001582/0.001582, allocations: 198.8 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.1 MB / 222.8 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.654/1.654, allocations: 292.3 MB / 0.5492 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 66.42 kB / 0.6717 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2571, allocations: 114.5 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006154/0.2633, allocations: 4.613 MB / 0.788 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.2643, allocations: 0.8187 MB / 0.7888 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.955e-05/0.2644, allocations: 4 kB / 0.7888 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.2647, allocations: 27.83 kB / 0.7888 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.626e-05/0.2647, allocations: 27.77 kB / 0.7889 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.2652, allocations: 147.5 kB / 0.789 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.2654, allocations: 175.4 kB / 0.7892 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.442e-05/0.2655, allocations: 21.05 kB / 0.7892 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.2657, allocations: 83.69 kB / 0.7893 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.2658, allocations: 71.73 kB / 0.7894 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.2658, allocations: 16 kB / 0.7894 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003057/0.2661, allocations: 155.7 kB / 0.7895 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.976e-05/0.2662, allocations: 35.91 kB / 0.7896 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.909e-05/0.2662, allocations: 75.64 kB / 0.7896 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.2665, allocations: 167.9 kB / 0.7898 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.2665, allocations: 0 / 0.7898 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2665, allocations: 0 / 0.7898 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.2665, allocations: 0 / 0.7898 GB, free: 7.441 MB / 0.6075 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.0008726/0.2674, allocations: 482.8 kB / 0.7902 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.2675, allocations: 12.03 kB / 0.7903 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.2675, allocations: 8.844 kB / 0.7903 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.2677, allocations: 191.2 kB / 0.7904 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.2677, allocations: 12.28 kB / 0.7905 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.2677, allocations: 15.94 kB / 0.7905 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003154/0.268, allocations: 113.6 kB / 0.7906 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.2681, allocations: 4 kB / 0.7906 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.2681, allocations: 0 / 0.7906 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2681, allocations: 0 / 0.7906 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.2685, allocations: 139.9 kB / 0.7907 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009654/0.2694, allocations: 476.3 kB / 0.7912 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.2697, allocations: 122.5 kB / 0.7913 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.2699, allocations: 68.81 kB / 0.7914 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00137/0.2713, allocations: 0.9726 MB / 0.7923 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.2713, allocations: 38.5 kB / 0.7923 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.2713, allocations: 0 / 0.7923 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0006397/0.272, allocations: 209.4 kB / 0.7925 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.272, allocations: 55.39 kB / 0.7926 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.2722, allocations: 171.2 kB / 0.7928 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.2722, allocations: 29.7 kB / 0.7928 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.197e-05/0.2723, allocations: 112.4 kB / 0.7929 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.2724, allocations: 35.45 kB / 0.7929 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.456e-05/0.2724, allocations: 49.7 kB / 0.793 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2726, allocations: 322.8 kB / 0.7933 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.2728, allocations: 75.94 kB / 0.7934 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.273, allocations: 115.3 kB / 0.7935 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003945/0.2735, allocations: 167.1 kB / 0.7936 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2735, allocations: 8 kB / 0.7936 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005333/0.274, allocations: 243.5 kB / 0.7939 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.274, allocations: 7.938 kB / 0.7939 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.274, allocations: 7.938 kB / 0.7939 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.2741, allocations: 0 / 0.7939 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/0.2744, allocations: 59.98 kB / 0.7939 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.2744, allocations: 4 kB / 0.7939 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.2746, allocations: 31.77 kB / 0.794 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/0.2746, allocations: 11.98 kB / 0.794 GB, free: 2.766 MB / 0.6075 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 9.998e-05/0.2747, allocations: 125.8 kB / 0.7941 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.514e-05/0.2747, allocations: 15.75 kB / 0.7941 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004651/0.2752, allocations: 174.9 kB / 0.7943 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.2752, allocations: 4 kB / 0.7943 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2752, allocations: 0 / 0.7943 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.2752, allocations: 0 / 0.7943 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.2755, allocations: 217.4 kB / 0.7945 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2755, allocations: 0 / 0.7945 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.2756, allocations: 39.91 kB / 0.7945 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/0.2757, allocations: 7.938 kB / 0.7945 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.2757, allocations: 0 / 0.7945 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2757, allocations: 0 / 0.7945 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.2757, allocations: 3.938 kB / 0.7945 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004266/0.2761, allocations: 247.9 kB / 0.7948 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.256e-05/0.2762, allocations: 104.8 kB / 0.7949 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.2762, allocations: 7.984 kB / 0.7949 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.2764, allocations: 11.98 kB / 0.7949 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.2765, allocations: 11.98 kB / 0.7949 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.2765, allocations: 8 kB / 0.7949 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.393e-05/0.2766, allocations: 116 kB / 0.795 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2766, allocations: 0 / 0.795 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003319/0.2769, allocations: 56.06 kB / 0.7951 GB, free: 1.535 MB / 0.6075 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.0003422/0.2773, allocations: 170 kB / 0.7952 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005043/0.2778, allocations: 175.7 kB / 0.7954 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2778, allocations: 0 / 0.7954 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.278, allocations: 71.94 kB / 0.7955 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.2784, allocations: 31.91 kB / 0.7955 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005443/0.2789, allocations: 307.2 kB / 0.7958 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.2793, allocations: 0.7084 MB / 0.7965 GB, free: 20 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.151e-05/0.2793, allocations: 15.44 kB / 0.7965 GB, free: 8 kB / 0.6075 GB Notification: Performance of SimCode: time 2.165e-06/0.2793, allocations: 0 / 0.7965 GB, free: 8 kB / 0.6075 GB Notification: Performance of Templates: time 0.004609/0.284, allocations: 2.559 MB / 0.799 GB, free: 13.46 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)