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.00123/0.00123, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 185.6 kB / 16.64 MB, free: 6.594 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.511/1.511, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.726/1.726, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.00148/0.00148, allocations: 74.84 kB / 0.6723 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2733, allocations: 114.5 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007242/0.2806, allocations: 4.598 MB / 0.7886 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.282, allocations: 0.8069 MB / 0.7894 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.59e-05/0.282, allocations: 0 / 0.7894 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.2823, allocations: 35.77 kB / 0.7894 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.555e-05/0.2824, allocations: 27.72 kB / 0.7895 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005095/0.2829, allocations: 171.3 kB / 0.7896 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.2831, allocations: 179.4 kB / 0.7898 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.2833, allocations: 28.78 kB / 0.7898 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.2835, allocations: 79.75 kB / 0.7899 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.2836, allocations: 71.73 kB / 0.79 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.2836, allocations: 19.94 kB / 0.79 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003556/0.284, allocations: 151.8 kB / 0.7901 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.289e-05/0.2841, allocations: 31.91 kB / 0.7902 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.087e-05/0.2841, allocations: 71.7 kB / 0.7902 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003751/0.2845, allocations: 243.2 kB / 0.7905 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2845, allocations: 0 / 0.7905 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2845, allocations: 4 kB / 0.7905 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.2845, allocations: 0 / 0.7905 GB, free: 6.223 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.0009134/0.2855, allocations: 486.8 kB / 0.7909 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.2855, allocations: 8.031 kB / 0.7909 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.2856, allocations: 12.84 kB / 0.791 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.2857, allocations: 179.3 kB / 0.7911 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.2857, allocations: 12.28 kB / 0.7911 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.2858, allocations: 15.94 kB / 0.7912 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003222/0.2861, allocations: 118.5 kB / 0.7913 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2861, allocations: 0 / 0.7913 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.2861, allocations: 12 kB / 0.7913 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2862, allocations: 0 / 0.7913 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003909/0.2866, allocations: 139.9 kB / 0.7914 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009419/0.2875, allocations: 468.4 kB / 0.7919 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.2878, allocations: 118.5 kB / 0.792 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.288, allocations: 80.75 kB / 0.792 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001572/0.2896, allocations: 0.9568 MB / 0.793 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.2896, allocations: 34.5 kB / 0.793 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.2896, allocations: 0 / 0.793 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0006683/0.2903, allocations: 209.4 kB / 0.7932 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.2904, allocations: 55.41 kB / 0.7933 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.2905, allocations: 164.4 kB / 0.7934 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.2905, allocations: 33.64 kB / 0.7935 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.211e-05/0.2906, allocations: 108.4 kB / 0.7936 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.2907, allocations: 39.44 kB / 0.7936 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.518e-05/0.2907, allocations: 57.69 kB / 0.7937 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2909, allocations: 322.8 kB / 0.794 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.2911, allocations: 67.95 kB / 0.794 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.2913, allocations: 114.2 kB / 0.7941 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004718/0.2918, allocations: 175.2 kB / 0.7943 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2918, allocations: 0 / 0.7943 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005609/0.2924, allocations: 247.8 kB / 0.7945 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.2924, allocations: 14.53 kB / 0.7946 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.2924, allocations: 0 / 0.7946 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.2925, allocations: 7.938 kB / 0.7946 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.2927, allocations: 55.91 kB / 0.7946 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.2928, allocations: 0 / 0.7946 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.2929, allocations: 39.84 kB / 0.7947 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.2929, allocations: 8 kB / 0.7947 GB, free: 1.562 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.0001542/0.2931, allocations: 121.8 kB / 0.7948 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.2931, allocations: 15.75 kB / 0.7948 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004705/0.2936, allocations: 179.4 kB / 0.795 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2936, allocations: 0 / 0.795 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.2937, allocations: 4 kB / 0.795 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2937, allocations: 4 kB / 0.795 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.2939, allocations: 217.5 kB / 0.7952 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2939, allocations: 0 / 0.7952 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.294, allocations: 31.91 kB / 0.7952 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.2941, allocations: 3.938 kB / 0.7952 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.2941, allocations: 4 kB / 0.7952 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2941, allocations: 3.938 kB / 0.7952 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2941, allocations: 4 kB / 0.7952 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004396/0.2945, allocations: 251.4 kB / 0.7955 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.99e-05/0.2946, allocations: 104.8 kB / 0.7956 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.2947, allocations: 0 / 0.7956 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.2948, allocations: 19.98 kB / 0.7956 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.2949, allocations: 11.92 kB / 0.7956 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.2949, allocations: 0 / 0.7956 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.066e-05/0.295, allocations: 118.1 kB / 0.7957 GB, free: 400 kB / 0.6075 GB Notification: Performance of sort global known variables: time 2.81e-07/0.295, allocations: 4 kB / 0.7957 GB, free: 396 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004481/0.2954, allocations: 64.3 kB / 0.7958 GB, free: 332 kB / 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.0003125/0.2957, allocations: 159.1 kB / 0.7959 GB, free: 160 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005843/0.2963, allocations: 171.7 kB / 0.7961 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2963, allocations: 4.188 kB / 0.7961 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.2965, allocations: 71.78 kB / 0.7962 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.2969, allocations: 23.98 kB / 0.7962 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000457/0.2974, allocations: 241.3 kB / 0.7964 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.2976, allocations: 0.7122 MB / 0.7971 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.701e-05/0.2977, allocations: 20.33 kB / 0.7971 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.2978, allocations: 19.42 kB / 0.7971 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/0.2978, allocations: 0 / 0.7971 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of Templates: time 0.005963/0.3038, allocations: 2.725 MB / 0.7998 GB, free: 12.15 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)