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.00105/0.00105, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001086/0.001086, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.296/1.296, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.594/1.594, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0004886/0.0004886, allocations: 23.73 kB / 0.6736 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2275, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00446/0.232, allocations: 3.891 MB / 0.7909 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008749/0.2329, allocations: 0.7063 MB / 0.7916 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.758e-05/0.233, allocations: 0 / 0.7916 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.2331, allocations: 27.83 kB / 0.7916 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.418e-05/0.2332, allocations: 35.92 kB / 0.7917 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.2336, allocations: 131.6 kB / 0.7918 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.2337, allocations: 111.8 kB / 0.7919 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.697e-05/0.2338, allocations: 17.12 kB / 0.7919 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.2339, allocations: 67.75 kB / 0.792 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.109e-05/0.234, allocations: 75.72 kB / 0.7921 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.2341, allocations: 8 kB / 0.7921 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.2343, allocations: 111.9 kB / 0.7922 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.831e-05/0.2344, allocations: 27.89 kB / 0.7922 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.183e-05/0.2344, allocations: 49.64 kB / 0.7923 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.2347, allocations: 159.9 kB / 0.7924 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2347, allocations: 0 / 0.7924 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2347, allocations: 0 / 0.7924 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.2347, allocations: 0 / 0.7924 GB, free: 6.516 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.0007912/0.2355, allocations: 474.8 kB / 0.7929 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.2355, allocations: 8.031 kB / 0.7929 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.2356, allocations: 19.77 kB / 0.7929 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.2357, allocations: 178.9 kB / 0.7931 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.2357, allocations: 12 kB / 0.7931 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.2358, allocations: 11.94 kB / 0.7931 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/0.2361, allocations: 129.5 kB / 0.7932 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.2361, allocations: 0 / 0.7932 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.2361, allocations: 7.984 kB / 0.7932 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2361, allocations: 0 / 0.7932 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004116/0.2365, allocations: 167.8 kB / 0.7934 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009374/0.2375, allocations: 468.5 kB / 0.7938 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.2378, allocations: 138.5 kB / 0.7939 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001239/0.239, allocations: 0.9605 MB / 0.7949 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.2391, allocations: 46.44 kB / 0.7949 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.253e-06/0.2391, allocations: 0 / 0.7949 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0006599/0.2397, allocations: 237.4 kB / 0.7952 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.2398, allocations: 51.41 kB / 0.7952 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.2399, allocations: 167.2 kB / 0.7954 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.2399, allocations: 33.7 kB / 0.7954 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.419e-05/0.24, allocations: 108.4 kB / 0.7955 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.2401, allocations: 39.45 kB / 0.7955 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.538e-06/0.2401, allocations: 4 kB / 0.7955 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2402, allocations: 326.8 kB / 0.7959 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.2404, allocations: 75.95 kB / 0.7959 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.2407, allocations: 130.1 kB / 0.796 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.2409, allocations: 91.97 kB / 0.7961 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2409, allocations: 3.938 kB / 0.7961 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005365/0.2414, allocations: 271.6 kB / 0.7964 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2415, allocations: 4 kB / 0.7964 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2415, allocations: 0 / 0.7964 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2415, allocations: 4 kB / 0.7964 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.2418, allocations: 67.98 kB / 0.7965 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.2418, allocations: 4 kB / 0.7965 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.2419, allocations: 35.77 kB / 0.7965 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.242, allocations: 4 kB / 0.7965 GB, free: 1.945 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.2421, allocations: 129.8 kB / 0.7966 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.2421, allocations: 15.77 kB / 0.7967 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004872/0.2426, allocations: 194.9 kB / 0.7968 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.2426, allocations: 4 kB / 0.7968 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2426, allocations: 0 / 0.7968 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.2426, allocations: 3.984 kB / 0.7968 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.2429, allocations: 221.4 kB / 0.7971 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.2429, allocations: 7.938 kB / 0.7971 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.243, allocations: 39.92 kB / 0.7971 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2431, allocations: 3.953 kB / 0.7971 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.2431, allocations: 3.984 kB / 0.7971 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2431, allocations: 0 / 0.7971 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2431, allocations: 4 kB / 0.7971 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000457/0.2435, allocations: 267.4 kB / 0.7974 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.218e-05/0.2436, allocations: 100.9 kB / 0.7975 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.2437, allocations: 3.953 kB / 0.7975 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.2438, allocations: 19.98 kB / 0.7975 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.2439, allocations: 15.92 kB / 0.7975 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.2439, allocations: 7.984 kB / 0.7975 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.092e-05/0.244, allocations: 112 kB / 0.7976 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.244, allocations: 0 / 0.7976 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003159/0.2443, allocations: 64.3 kB / 0.7977 GB, free: 0.6484 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00028/0.2446, allocations: 155.1 kB / 0.7978 GB, free: 496 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004732/0.2451, allocations: 187.7 kB / 0.798 GB, free: 308 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2451, allocations: 0 / 0.798 GB, free: 308 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.2453, allocations: 84.08 kB / 0.7981 GB, free: 224 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.2455, allocations: 20.86 kB / 0.7981 GB, free: 204 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000503/0.246, allocations: 357.6 kB / 0.7984 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.2463, allocations: 0.7164 MB / 0.7991 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.444e-05/0.2464, allocations: 25.83 kB / 0.7992 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.483e-05/0.2465, allocations: 19.42 kB / 0.7992 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.2465, allocations: 0 / 0.7992 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of Templates: time 0.005079/0.2516, allocations: 2.463 MB / 0.8016 GB, free: 12.61 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: