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.00103/0.001029, 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.009525/0.009525, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.543/1.543, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.734/1.734, allocations: 292.7 MB / 0.5502 GB, free: 14.5 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.0005401/0.0005404, allocations: 18.72 kB / 0.6743 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2762, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005541/0.2818, allocations: 4.24 MB / 0.792 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.283, allocations: 0.8226 MB / 0.7928 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.775e-05/0.2831, allocations: 0 / 0.7928 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.2833, allocations: 19.89 kB / 0.7928 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.366e-05/0.2834, allocations: 27.77 kB / 0.7929 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006164/0.284, allocations: 151.5 kB / 0.793 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.2842, allocations: 167.4 kB / 0.7932 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.2843, allocations: 17.12 kB / 0.7932 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.2846, allocations: 71.69 kB / 0.7933 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.2847, allocations: 71.73 kB / 0.7933 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.2847, allocations: 8 kB / 0.7933 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003833/0.2851, allocations: 147.7 kB / 0.7935 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.115e-05/0.2852, allocations: 23.91 kB / 0.7935 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.537e-05/0.2852, allocations: 89.34 kB / 0.7936 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003837/0.2856, allocations: 231.6 kB / 0.7938 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2857, allocations: 0 / 0.7938 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2857, allocations: 4 kB / 0.7938 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.2857, allocations: 0 / 0.7938 GB, free: 5.465 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.0008908/0.2866, allocations: 463 kB / 0.7943 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.2866, allocations: 12.03 kB / 0.7943 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.152e-05/0.2867, allocations: 12.75 kB / 0.7943 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.2869, allocations: 184.2 kB / 0.7945 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.2869, allocations: 8.359 kB / 0.7945 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.2869, allocations: 15.94 kB / 0.7945 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000353/0.2873, allocations: 129.6 kB / 0.7946 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.2873, allocations: 3.938 kB / 0.7946 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.2873, allocations: 8 kB / 0.7946 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.2874, allocations: 0 / 0.7946 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004507/0.2878, allocations: 163.9 kB / 0.7948 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009844/0.2888, allocations: 480.3 kB / 0.7952 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.2891, allocations: 130.5 kB / 0.7953 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/0.2893, allocations: 80.81 kB / 0.7954 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001305/0.2906, allocations: 0.9687 MB / 0.7964 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.2907, allocations: 34.5 kB / 0.7964 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 2.746e-06/0.2907, allocations: 0 / 0.7964 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0007036/0.2914, allocations: 245.3 kB / 0.7966 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.2915, allocations: 59.34 kB / 0.7967 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.2916, allocations: 163.3 kB / 0.7969 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.2916, allocations: 33.7 kB / 0.7969 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.082e-05/0.2917, allocations: 104.4 kB / 0.797 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.054e-05/0.2918, allocations: 43.34 kB / 0.797 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.2918, allocations: 29.7 kB / 0.7971 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.2919, allocations: 330.8 kB / 0.7974 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.2922, allocations: 83.94 kB / 0.7974 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.2924, allocations: 127.3 kB / 0.7976 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004504/0.2929, allocations: 197.6 kB / 0.7978 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2929, allocations: 0 / 0.7978 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005839/0.2935, allocations: 257.4 kB / 0.798 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2935, allocations: 7.938 kB / 0.798 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2935, allocations: 0 / 0.798 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2936, allocations: 8.094 kB / 0.798 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.2938, allocations: 63.89 kB / 0.7981 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.2939, allocations: 4 kB / 0.7981 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.294, allocations: 39.67 kB / 0.7981 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.2941, allocations: 4 kB / 0.7981 GB, free: 0.668 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 0.0001014/0.2942, allocations: 125.8 kB / 0.7982 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-05/0.2942, allocations: 15.83 kB / 0.7983 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005373/0.2948, allocations: 203.2 kB / 0.7985 GB, free: 320 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.2948, allocations: 4 kB / 0.7985 GB, free: 316 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.2948, allocations: 3.984 kB / 0.7985 GB, free: 312 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2948, allocations: 0 / 0.7985 GB, free: 312 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.295, allocations: 217.5 kB / 0.7987 GB, free: 44 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2951, allocations: 0 / 0.7987 GB, free: 44 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.2952, allocations: 39.97 kB / 0.7987 GB, free: 4 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.2952, allocations: 3.938 kB / 0.7987 GB, free: 0 / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.2952, allocations: 0 / 0.7987 GB, free: 0 / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.688e-05/0.2953, allocations: 8.078 kB / 0.7987 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2953, allocations: 3.938 kB / 0.7987 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004975/0.2958, allocations: 275.3 kB / 0.799 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.905e-05/0.2959, allocations: 100.8 kB / 0.7991 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.2959, allocations: 4 kB / 0.7991 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.296, allocations: 23.97 kB / 0.7991 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.2961, allocations: 7.984 kB / 0.7991 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.2961, allocations: 4 kB / 0.7991 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 8.478e-05/0.2962, allocations: 116 kB / 0.7992 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2962, allocations: 0 / 0.7992 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003416/0.2966, allocations: 56.06 kB / 0.7993 GB, free: 15.38 MB / 0.6231 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.0003033/0.2969, allocations: 173.5 kB / 0.7994 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005198/0.2974, allocations: 194.3 kB / 0.7996 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2974, allocations: 4.125 kB / 0.7996 GB, free: 15 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.2976, allocations: 83.88 kB / 0.7997 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.298, allocations: 22.44 kB / 0.7997 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004634/0.2985, allocations: 302 kB / 0.8 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.2987, allocations: 0.7125 MB / 0.8007 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.2988, allocations: 20.16 kB / 0.8007 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.381e-05/0.2989, allocations: 19.42 kB / 0.8008 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.2989, allocations: 0 / 0.8008 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of Templates: time 0.005842/0.3048, allocations: 2.52 MB / 0.8032 GB, free: 11.32 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: