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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.716/1.716, allocations: 292.3 MB / 308.1 MB, free: 4.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001672/0.001672, allocations: 188.5 kB / 376.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.1 MB / 0.6354 GB, free: 9.773 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 95.22 kB / 0.748 GB, free: 61.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 47.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2803, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006867/0.2872, allocations: 4.62 MB / 0.9867 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.2884, allocations: 0.8381 MB / 0.9876 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.189e-05/0.2885, allocations: 3.938 kB / 0.9876 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.2887, allocations: 15.91 kB / 0.9876 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.473e-05/0.2888, allocations: 23.78 kB / 0.9876 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005696/0.2894, allocations: 151.5 kB / 0.9877 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.2896, allocations: 179.4 kB / 0.9879 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.699e-05/0.2897, allocations: 25.09 kB / 0.9879 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.29, allocations: 71.77 kB / 0.988 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.2901, allocations: 71.67 kB / 0.9881 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.2901, allocations: 8 kB / 0.9881 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003824/0.2905, allocations: 151.7 kB / 0.9882 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.518e-05/0.2906, allocations: 23.91 kB / 0.9883 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.972e-05/0.2906, allocations: 55.73 kB / 0.9883 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004212/0.2911, allocations: 235.6 kB / 0.9885 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2911, allocations: 0 / 0.9885 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2911, allocations: 4 kB / 0.9885 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.2911, allocations: 0 / 0.9885 GB, free: 3.875 MB / 0.7136 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.001028/0.2921, allocations: 482.8 kB / 0.989 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.2922, allocations: 12.03 kB / 0.989 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.022e-05/0.2923, allocations: 12.75 kB / 0.989 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.2925, allocations: 191.2 kB / 0.9892 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.2925, allocations: 8.375 kB / 0.9892 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.2925, allocations: 15.94 kB / 0.9892 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003448/0.2929, allocations: 113.6 kB / 0.9893 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.2929, allocations: 0 / 0.9893 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.2929, allocations: 7.984 kB / 0.9893 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.2929, allocations: 3.984 kB / 0.9893 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004071/0.2933, allocations: 139.9 kB / 0.9895 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.2945, allocations: 472.3 kB / 0.9899 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.2948, allocations: 122.5 kB / 0.99 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.295, allocations: 68.8 kB / 0.9901 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001548/0.2966, allocations: 0.9684 MB / 0.9911 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.2966, allocations: 38.5 kB / 0.9911 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.2966, allocations: 0 / 0.9911 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0007368/0.2974, allocations: 213.3 kB / 0.9913 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.2974, allocations: 51.41 kB / 0.9913 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.2977, allocations: 171.2 kB / 0.9915 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.2977, allocations: 29.7 kB / 0.9915 GB, free: 476 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.801e-05/0.2978, allocations: 104.4 kB / 0.9916 GB, free: 368 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.2978, allocations: 35.45 kB / 0.9917 GB, free: 332 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.298, allocations: 49.7 kB / 0.9917 GB, free: 276 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.2981, allocations: 326.8 kB / 0.992 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002503/0.2984, allocations: 75.94 kB / 0.9921 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.2986, allocations: 111.2 kB / 0.9922 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004231/0.2991, allocations: 167.3 kB / 0.9924 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.2991, allocations: 4 kB / 0.9924 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005816/0.2997, allocations: 247.8 kB / 0.9926 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.2997, allocations: 7.938 kB / 0.9926 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.2997, allocations: 7.938 kB / 0.9926 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.2998, allocations: 3.984 kB / 0.9926 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.3, allocations: 51.97 kB / 0.9927 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.3001, allocations: 4 kB / 0.9927 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.3002, allocations: 31.67 kB / 0.9927 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.3003, allocations: 16.08 kB / 0.9927 GB, free: 15.2 MB / 0.7292 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.0001146/0.3004, allocations: 125.8 kB / 0.9928 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.454e-05/0.3005, allocations: 11.84 kB / 0.9929 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000487/0.3009, allocations: 174.9 kB / 0.993 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.301, allocations: 8 kB / 0.993 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.301, allocations: 4 kB / 0.993 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.301, allocations: 0 / 0.993 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.3012, allocations: 221.4 kB / 0.9932 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3012, allocations: 0 / 0.9932 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.3014, allocations: 31.97 kB / 0.9933 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.3014, allocations: 7.875 kB / 0.9933 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.3014, allocations: 3.938 kB / 0.9933 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3014, allocations: 0 / 0.9933 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3015, allocations: 0 / 0.9933 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009308/0.3024, allocations: 0.8682 MB / 0.9941 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.94e-05/0.3025, allocations: 104.9 kB / 0.9942 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.3025, allocations: 8 kB / 0.9942 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.3027, allocations: 11.98 kB / 0.9943 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.3027, allocations: 11.98 kB / 0.9943 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.3027, allocations: 3.938 kB / 0.9943 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.332e-05/0.3028, allocations: 112 kB / 0.9944 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.41e-07/0.3028, allocations: 0 / 0.9944 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004618/0.3033, allocations: 68.31 kB / 0.9944 GB, free: 13.3 MB / 0.7292 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.0003456/0.3037, allocations: 163.1 kB / 0.9946 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000517/0.3042, allocations: 171.9 kB / 0.9948 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3042, allocations: 0 / 0.9948 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.3044, allocations: 64.55 kB / 0.9948 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.3048, allocations: 30.36 kB / 0.9949 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006232/0.3054, allocations: 422.1 kB / 0.9953 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.3058, allocations: 0.7163 MB / 0.996 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001159/0.3059, allocations: 24.95 kB / 0.996 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.083e-05/0.306, allocations: 15.44 kB / 0.996 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/0.306, allocations: 0 / 0.996 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of Templates: time 0.005912/0.3119, allocations: 2.595 MB / 0.9985 GB, free: 9.066 MB / 0.7292 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)