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.001435/0.001435, allocations: 115.1 kB / 16.37 MB, free: 5.996 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.001553/0.001553, allocations: 188 kB / 17.3 MB, free: 5.617 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.482/1.482, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.759/1.759, allocations: 292.3 MB / 0.5496 GB, free: 17.38 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.001425/0.001425, allocations: 67.89 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2515, allocations: 114.5 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.4736/0.7251, allocations: 4.584 MB / 0.7893 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008828/0.726, allocations: 0.8129 MB / 0.7901 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.276e-05/0.7261, allocations: 0 / 0.7901 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.7263, allocations: 30.53 kB / 0.7901 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.865e-05/0.7264, allocations: 32.66 kB / 0.7901 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004717/0.7269, allocations: 178.4 kB / 0.7903 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.727, allocations: 180.3 kB / 0.7905 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.266e-05/0.7271, allocations: 11.33 kB / 0.7905 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.7273, allocations: 82.7 kB / 0.7906 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.754e-05/0.7274, allocations: 76.33 kB / 0.7906 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.7274, allocations: 16.41 kB / 0.7906 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002926/0.7277, allocations: 159.5 kB / 0.7908 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.114e-05/0.7278, allocations: 34.3 kB / 0.7908 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.216e-05/0.7278, allocations: 63.23 kB / 0.7909 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.7281, allocations: 238.6 kB / 0.7911 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7282, allocations: 1.594 kB / 0.7911 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7282, allocations: 2.656 kB / 0.7911 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.7282, allocations: 0 / 0.7911 GB, free: 46.17 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.0007771/0.729, allocations: 479.4 kB / 0.7916 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.729, allocations: 11.66 kB / 0.7916 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.142e-05/0.7291, allocations: 14.88 kB / 0.7916 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.7292, allocations: 186 kB / 0.7918 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.7292, allocations: 9.75 kB / 0.7918 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.7292, allocations: 17.06 kB / 0.7918 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.7295, allocations: 118.9 kB / 0.7919 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.7296, allocations: 0 / 0.7919 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.7296, allocations: 7.422 kB / 0.7919 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.7296, allocations: 2.625 kB / 0.7919 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003792/0.73, allocations: 143.9 kB / 0.7921 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008765/0.7309, allocations: 471.2 kB / 0.7925 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.7312, allocations: 117.5 kB / 0.7926 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.7313, allocations: 69.89 kB / 0.7927 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/0.7325, allocations: 0.9729 MB / 0.7936 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.7325, allocations: 34.06 kB / 0.7937 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.093e-06/0.7325, allocations: 2.719 kB / 0.7937 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.0006265/0.7331, allocations: 210.9 kB / 0.7939 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.7332, allocations: 53.91 kB / 0.7939 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.7333, allocations: 163.1 kB / 0.7941 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.7333, allocations: 31.78 kB / 0.7941 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.976e-05/0.7334, allocations: 110.6 kB / 0.7942 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.7334, allocations: 36.7 kB / 0.7943 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.925e-05/0.7335, allocations: 61.06 kB / 0.7943 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.785e-05/0.7336, allocations: 322.8 kB / 0.7946 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.7338, allocations: 73.53 kB / 0.7947 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.734, allocations: 108.5 kB / 0.7948 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003756/0.7344, allocations: 172.3 kB / 0.795 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.7344, allocations: 0 / 0.795 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004916/0.7349, allocations: 249.2 kB / 0.7952 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.7349, allocations: 10.25 kB / 0.7952 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.7349, allocations: 0 / 0.7952 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.735, allocations: 2.844 kB / 0.7952 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/0.7352, allocations: 61.91 kB / 0.7953 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.7352, allocations: 0 / 0.7953 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.7354, allocations: 30.61 kB / 0.7953 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.7354, allocations: 7 kB / 0.7953 GB, free: 43.5 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 7.205e-05/0.7355, allocations: 130.4 kB / 0.7954 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.7355, allocations: 15.5 kB / 0.7954 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004346/0.736, allocations: 175.1 kB / 0.7956 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.736, allocations: 7.469 kB / 0.7956 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.736, allocations: 0 / 0.7956 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.736, allocations: 4.266 kB / 0.7956 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.7362, allocations: 215.4 kB / 0.7958 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.7362, allocations: 0.5 kB / 0.7958 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.7363, allocations: 27.14 kB / 0.7959 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.7363, allocations: 7.25 kB / 0.7959 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.7364, allocations: 2.5 kB / 0.7959 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.7364, allocations: 2.062 kB / 0.7959 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.7364, allocations: 0 / 0.7959 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003902/0.7368, allocations: 262.1 kB / 0.7961 GB, free: 43 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.355e-05/0.7368, allocations: 101.7 kB / 0.7962 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.7369, allocations: 4.734 kB / 0.7962 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.737, allocations: 19.84 kB / 0.7962 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.737, allocations: 13.3 kB / 0.7962 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.7371, allocations: 3.922 kB / 0.7963 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.202e-05/0.7371, allocations: 115.7 kB / 0.7964 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7371, allocations: 0 / 0.7964 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003223/0.7375, allocations: 57.66 kB / 0.7964 GB, free: 42.8 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.0002983/0.7378, allocations: 164.7 kB / 0.7966 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004721/0.7382, allocations: 178.2 kB / 0.7967 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7383, allocations: 4.188 kB / 0.7967 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.7384, allocations: 63.56 kB / 0.7968 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.7388, allocations: 22.03 kB / 0.7968 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004391/0.7393, allocations: 272.5 kB / 0.7971 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.7394, allocations: 0.7078 MB / 0.7978 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.7395, allocations: 20.73 kB / 0.7978 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.7395, allocations: 0 / 0.7978 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.004668/0.7442, allocations: 2.552 MB / 0.8003 GB, free: 41.59 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)