Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00111/0.00111, allocations: 114.9 kB / 16.37 MB, free: 6.016 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.001168/0.001168, allocations: 193.2 kB / 17.31 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002205/0.002205, allocations: 281.2 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9368/0.9368, allocations: 169.2 MB / 0.4989 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 94.36 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1576, allocations: 86.97 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005681/0.1633, allocations: 4.536 MB / 0.686 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009691/0.1643, allocations: 0.8147 MB / 0.6868 GB, free: 2.078 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.204e-05/0.1644, allocations: 4 kB / 0.6868 GB, free: 2.074 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.1645, allocations: 27.78 kB / 0.6869 GB, free: 2.047 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.603e-05/0.1646, allocations: 35.69 kB / 0.6869 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004421/0.1651, allocations: 167.4 kB / 0.6871 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.1653, allocations: 175.4 kB / 0.6872 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.296e-05/0.1654, allocations: 13.06 kB / 0.6872 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.1655, allocations: 91.61 kB / 0.6873 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.1656, allocations: 79.73 kB / 0.6874 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.1657, allocations: 12 kB / 0.6874 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.166, allocations: 151.8 kB / 0.6876 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.161e-05/0.166, allocations: 31.91 kB / 0.6876 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.806e-05/0.1661, allocations: 67.66 kB / 0.6877 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.1664, allocations: 247.3 kB / 0.6879 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1664, allocations: 0 / 0.6879 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.407e-06/0.1664, allocations: 0 / 0.6879 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.1665, allocations: 3.938 kB / 0.6879 GB, free: 0.9922 MB / 494.1 MB 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.0007797/0.1672, allocations: 475 kB / 0.6883 GB, free: 492 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.1673, allocations: 8.031 kB / 0.6884 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.65e-05/0.1673, allocations: 20.75 kB / 0.6884 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.1675, allocations: 189.2 kB / 0.6886 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.1675, allocations: 8.375 kB / 0.6886 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.1675, allocations: 12.38 kB / 0.6886 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/0.1678, allocations: 120.3 kB / 0.6887 GB, free: 92 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.1678, allocations: 8 kB / 0.6887 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1679, allocations: 3.938 kB / 0.6887 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1679, allocations: 0 / 0.6887 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2542/0.4221, allocations: 138.6 kB / 0.6888 GB, free: 19.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.4232, allocations: 455.8 kB / 0.6893 GB, free: 19.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.4235, allocations: 131.1 kB / 0.6894 GB, free: 19.13 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.4237, allocations: 73.17 kB / 0.6895 GB, free: 19.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/0.4248, allocations: 0.9717 MB / 0.6904 GB, free: 18.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.4248, allocations: 34.31 kB / 0.6904 GB, free: 18.17 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.4248, allocations: 1.812 kB / 0.6904 GB, free: 18.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006616/0.4255, allocations: 206.5 kB / 0.6906 GB, free: 18.11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.4255, allocations: 53.39 kB / 0.6907 GB, free: 18.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.4257, allocations: 172.9 kB / 0.6909 GB, free: 17.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.4257, allocations: 31.48 kB / 0.6909 GB, free: 17.88 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/0.4258, allocations: 107.9 kB / 0.691 GB, free: 17.78 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.4258, allocations: 40.14 kB / 0.691 GB, free: 17.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.093e-05/0.4259, allocations: 50.52 kB / 0.6911 GB, free: 17.72 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.018e-05/0.426, allocations: 323.9 kB / 0.6914 GB, free: 17.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002464/0.4263, allocations: 76.08 kB / 0.6915 GB, free: 17.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/0.4265, allocations: 119.9 kB / 0.6916 GB, free: 17.33 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004484/0.427, allocations: 171.9 kB / 0.6917 GB, free: 17.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.427, allocations: 0.75 kB / 0.6917 GB, free: 17.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005787/0.4276, allocations: 245.5 kB / 0.692 GB, free: 17.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.4276, allocations: 6.156 kB / 0.692 GB, free: 17.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.4276, allocations: 1.562 kB / 0.692 GB, free: 17.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.4277, allocations: 3.312 kB / 0.692 GB, free: 17.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.4279, allocations: 58.16 kB / 0.692 GB, free: 17.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.428, allocations: 3.719 kB / 0.692 GB, free: 17.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.4281, allocations: 39.22 kB / 0.6921 GB, free: 17.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.4282, allocations: 12.92 kB / 0.6921 GB, free: 17.12 MB / 494.1 MB 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 8.732e-05/0.4283, allocations: 124.1 kB / 0.6922 GB, free: 17 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.4283, allocations: 8.938 kB / 0.6922 GB, free: 17 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000478/0.4288, allocations: 171.2 kB / 0.6924 GB, free: 16.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.4288, allocations: 1.328 kB / 0.6924 GB, free: 16.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4288, allocations: 0.7812 kB / 0.6924 GB, free: 16.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.4288, allocations: 7.672 kB / 0.6924 GB, free: 16.92 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.429, allocations: 213.8 kB / 0.6926 GB, free: 16.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.429, allocations: 1.094 kB / 0.6926 GB, free: 16.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.4292, allocations: 36.53 kB / 0.6926 GB, free: 16.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4292, allocations: 4.531 kB / 0.6926 GB, free: 16.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.4292, allocations: 5.719 kB / 0.6926 GB, free: 16.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.4292, allocations: 1.969 kB / 0.6926 GB, free: 16.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4292, allocations: 3.938 kB / 0.6926 GB, free: 16.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003811/0.4296, allocations: 251.2 kB / 0.6929 GB, free: 16.54 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.4297, allocations: 109.5 kB / 0.693 GB, free: 16.42 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.4297, allocations: 0.9062 kB / 0.693 GB, free: 16.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.4298, allocations: 12.36 kB / 0.693 GB, free: 16.42 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.4299, allocations: 15.73 kB / 0.693 GB, free: 16.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.4299, allocations: 8.734 kB / 0.693 GB, free: 16.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.411e-05/0.43, allocations: 115.6 kB / 0.6931 GB, free: 16.32 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.43, allocations: 0 / 0.6931 GB, free: 16.32 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003281/0.4303, allocations: 56.17 kB / 0.6932 GB, free: 16.32 MB / 494.1 MB 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.0002392/0.4305, allocations: 167.5 kB / 0.6933 GB, free: 16.22 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004583/0.431, allocations: 169 kB / 0.6935 GB, free: 16.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.431, allocations: 3.969 kB / 0.6935 GB, free: 16.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.4312, allocations: 67.03 kB / 0.6936 GB, free: 16.17 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.4315, allocations: 24.53 kB / 0.6936 GB, free: 16.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004039/0.4319, allocations: 252.1 kB / 0.6938 GB, free: 16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.432, allocations: 0.7111 MB / 0.6945 GB, free: 15.29 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.463e-05/0.4321, allocations: 21.03 kB / 0.6946 GB, free: 15.29 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.4322, allocations: 19.75 kB / 0.6946 GB, free: 15.27 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4322, allocations: 0 / 0.6946 GB, free: 15.27 MB / 494.1 MB Notification: Performance of Templates: time 0.006113/0.4383, allocations: 2.728 MB / 0.6972 GB, free: 15.02 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)