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.001592/0.001597, allocations: 105.1 kB / 16.29 MB, free: 6.43 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.001908/0.001908, allocations: 185.1 kB / 17.22 MB, free: 5.934 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.412/1.412, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.883/1.883, allocations: 292.3 MB / 0.5495 GB, free: 17.56 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.001439/0.00144, allocations: 76.41 kB / 0.6722 GB, free: 6.5 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2734, allocations: 114.6 MB / 0.7841 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.4479/0.7213, allocations: 4.56 MB / 0.7885 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008554/0.7222, allocations: 0.814 MB / 0.7893 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.086e-05/0.7223, allocations: 3.031 kB / 0.7893 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.7224, allocations: 31.52 kB / 0.7894 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.955e-05/0.7225, allocations: 32.97 kB / 0.7894 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004513/0.723, allocations: 168 kB / 0.7896 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.7231, allocations: 182.2 kB / 0.7897 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.661e-05/0.7232, allocations: 21.19 kB / 0.7898 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.7234, allocations: 84 kB / 0.7898 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.16e-05/0.7235, allocations: 72.56 kB / 0.7899 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.7235, allocations: 10.91 kB / 0.7899 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002912/0.7238, allocations: 155.2 kB / 0.7901 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.745e-05/0.7239, allocations: 37.84 kB / 0.7901 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.762e-05/0.7239, allocations: 65.16 kB / 0.7902 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.7242, allocations: 240.6 kB / 0.7904 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.7242, allocations: 0 / 0.7904 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7242, allocations: 0 / 0.7904 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.7242, allocations: 0 / 0.7904 GB, free: 45.83 MB / 0.6544 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.0007248/0.725, allocations: 484 kB / 0.7909 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.725, allocations: 8.906 kB / 0.7909 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.082e-05/0.7251, allocations: 20.3 kB / 0.7909 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.158e-05/0.7252, allocations: 187 kB / 0.7911 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.7252, allocations: 8.688 kB / 0.7911 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.7252, allocations: 19.72 kB / 0.7911 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.7255, allocations: 115.1 kB / 0.7912 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.7255, allocations: 1.703 kB / 0.7912 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.7255, allocations: 0 / 0.7912 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.7255, allocations: 6.031 kB / 0.7912 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003496/0.7259, allocations: 145.2 kB / 0.7913 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008251/0.7267, allocations: 465.9 kB / 0.7918 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.727, allocations: 123.8 kB / 0.7919 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.7272, allocations: 71.39 kB / 0.792 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/0.7282, allocations: 0.9645 MB / 0.7929 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/0.7283, allocations: 34.31 kB / 0.7929 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.432e-06/0.7283, allocations: 0 / 0.7929 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.0005815/0.7289, allocations: 215.4 kB / 0.7932 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.7289, allocations: 55.03 kB / 0.7932 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.729, allocations: 164.8 kB / 0.7934 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.729, allocations: 29.39 kB / 0.7934 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.064e-05/0.7291, allocations: 115.7 kB / 0.7935 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.7291, allocations: 42.31 kB / 0.7935 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.829e-05/0.7292, allocations: 55.91 kB / 0.7936 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.105e-05/0.7293, allocations: 323.5 kB / 0.7939 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.7294, allocations: 72.75 kB / 0.794 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.7297, allocations: 111.6 kB / 0.7941 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.73, allocations: 164 kB / 0.7942 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.73, allocations: 0 / 0.7942 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004784/0.7305, allocations: 248.4 kB / 0.7945 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.7305, allocations: 13.66 kB / 0.7945 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.7305, allocations: 0 / 0.7945 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.7306, allocations: 3.5 kB / 0.7945 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.7308, allocations: 56.42 kB / 0.7945 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.7308, allocations: 7.562 kB / 0.7945 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.731, allocations: 27.16 kB / 0.7946 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.731, allocations: 9.094 kB / 0.7946 GB, free: 43.17 MB / 0.6544 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 6.559e-05/0.7311, allocations: 126.1 kB / 0.7947 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.7311, allocations: 19.22 kB / 0.7947 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004016/0.7315, allocations: 175.4 kB / 0.7949 GB, free: 43 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.7315, allocations: 0 / 0.7949 GB, free: 43 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.7315, allocations: 0 / 0.7949 GB, free: 43 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.7315, allocations: 3.344 kB / 0.7949 GB, free: 43 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.7317, allocations: 220.8 kB / 0.7951 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.7317, allocations: 5.438 kB / 0.7951 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.7319, allocations: 27.5 kB / 0.7951 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.7319, allocations: 3.938 kB / 0.7951 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.7319, allocations: 3.5 kB / 0.7951 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.7319, allocations: 4 kB / 0.7951 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.7319, allocations: 0 / 0.7951 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.7322, allocations: 253.7 kB / 0.7954 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.7323, allocations: 103.1 kB / 0.7955 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.7323, allocations: 6.844 kB / 0.7955 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.7325, allocations: 22.75 kB / 0.7955 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.7325, allocations: 5.531 kB / 0.7955 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.7325, allocations: 5.812 kB / 0.7955 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.546e-05/0.7326, allocations: 116.9 kB / 0.7956 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7326, allocations: 0 / 0.7956 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003194/0.7329, allocations: 58.56 kB / 0.7957 GB, free: 42.47 MB / 0.6544 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.0002465/0.7332, allocations: 160.3 kB / 0.7958 GB, free: 42.37 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004363/0.7336, allocations: 178.8 kB / 0.796 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.7336, allocations: 0.6562 kB / 0.796 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.7338, allocations: 72.52 kB / 0.7961 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.7342, allocations: 24.88 kB / 0.7961 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/0.7346, allocations: 248.2 kB / 0.7963 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.7347, allocations: 0.7025 MB / 0.797 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.423e-05/0.7348, allocations: 26.22 kB / 0.7971 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.7349, allocations: 14.38 kB / 0.7971 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.7349, allocations: 0 / 0.7971 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of Templates: time 0.005354/0.7402, allocations: 2.727 MB / 0.7997 GB, free: 41.32 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)