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.001032/0.001032, allocations: 110.6 kB / 16.37 MB, free: 6.012 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.0009884/0.0009885, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.242/1.242, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002017/0.002017, allocations: 280.7 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9061/0.9061, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.00172, allocations: 97.88 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1595, allocations: 86.98 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005584/0.1651, allocations: 4.539 MB / 0.6861 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009794/0.1661, allocations: 0.8109 MB / 0.6868 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.995e-05/0.1662, allocations: 0 / 0.6868 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.1663, allocations: 35.69 kB / 0.6869 GB, free: 2.027 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.967e-05/0.1664, allocations: 27.72 kB / 0.6869 GB, free: 2 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004458/0.1668, allocations: 171.4 kB / 0.6871 GB, free: 1.832 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.167, allocations: 175.4 kB / 0.6872 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.224e-05/0.1671, allocations: 17.12 kB / 0.6873 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.1673, allocations: 87.62 kB / 0.6873 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.496e-05/0.1674, allocations: 71.73 kB / 0.6874 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.1674, allocations: 16 kB / 0.6874 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002951/0.1677, allocations: 159.8 kB / 0.6876 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.758e-05/0.1677, allocations: 23.92 kB / 0.6876 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.127e-05/0.1678, allocations: 67.66 kB / 0.6877 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.1681, allocations: 247.3 kB / 0.6879 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1682, allocations: 0 / 0.6879 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1682, allocations: 7.938 kB / 0.6879 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1682, allocations: 4 kB / 0.6879 GB, free: 0.9727 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.0007736/0.169, allocations: 471 kB / 0.6884 GB, free: 476 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.169, allocations: 8.031 kB / 0.6884 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.731e-05/0.169, allocations: 16.75 kB / 0.6884 GB, free: 452 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.1692, allocations: 185.4 kB / 0.6886 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1692, allocations: 8.375 kB / 0.6886 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.1692, allocations: 12.38 kB / 0.6886 GB, free: 208 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.1695, allocations: 117.7 kB / 0.6887 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1695, allocations: 3.938 kB / 0.6887 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1696, allocations: 0 / 0.6887 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1696, allocations: 4 kB / 0.6887 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2577/0.4273, allocations: 144 kB / 0.6888 GB, free: 18.85 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.4283, allocations: 456 kB / 0.6893 GB, free: 18.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.4287, allocations: 125.1 kB / 0.6894 GB, free: 18.56 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.4288, allocations: 79.11 kB / 0.6895 GB, free: 18.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/0.43, allocations: 0.9675 MB / 0.6904 GB, free: 17.72 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.4301, allocations: 36.28 kB / 0.6904 GB, free: 17.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 1.502e-06/0.4301, allocations: 0 / 0.6904 GB, free: 17.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006199/0.4307, allocations: 206.3 kB / 0.6906 GB, free: 17.65 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/0.4307, allocations: 54.55 kB / 0.6907 GB, free: 17.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.4309, allocations: 178 kB / 0.6909 GB, free: 17.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.4309, allocations: 30.64 kB / 0.6909 GB, free: 17.45 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.67e-05/0.431, allocations: 110.8 kB / 0.691 GB, free: 17.35 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.431, allocations: 39.64 kB / 0.691 GB, free: 17.33 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-05/0.4311, allocations: 47.55 kB / 0.6911 GB, free: 17.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.67e-05/0.4311, allocations: 324.9 kB / 0.6914 GB, free: 17 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.4313, allocations: 75.11 kB / 0.6915 GB, free: 17 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.4316, allocations: 115.8 kB / 0.6916 GB, free: 16.97 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/0.432, allocations: 175.1 kB / 0.6917 GB, free: 16.94 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.432, allocations: 0 / 0.6917 GB, free: 16.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000527/0.4325, allocations: 243.6 kB / 0.692 GB, free: 16.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.4325, allocations: 5.5 kB / 0.692 GB, free: 16.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.4325, allocations: 5.688 kB / 0.692 GB, free: 16.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.4326, allocations: 2.812 kB / 0.692 GB, free: 16.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.4328, allocations: 57.7 kB / 0.692 GB, free: 16.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.4328, allocations: 2.609 kB / 0.692 GB, free: 16.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.433, allocations: 39.98 kB / 0.6921 GB, free: 16.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.433, allocations: 8.25 kB / 0.6921 GB, free: 16.84 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 6.95e-05/0.4331, allocations: 123.5 kB / 0.6922 GB, free: 16.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.4331, allocations: 10.89 kB / 0.6922 GB, free: 16.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004279/0.4336, allocations: 175.4 kB / 0.6924 GB, free: 16.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.4336, allocations: 2.172 kB / 0.6924 GB, free: 16.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4336, allocations: 0.75 kB / 0.6924 GB, free: 16.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.4336, allocations: 8.719 kB / 0.6924 GB, free: 16.63 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.4338, allocations: 221.6 kB / 0.6926 GB, free: 16.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4338, allocations: 4.406 kB / 0.6926 GB, free: 16.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.434, allocations: 28.7 kB / 0.6926 GB, free: 16.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.434, allocations: 3.875 kB / 0.6926 GB, free: 16.42 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.434, allocations: 5.562 kB / 0.6926 GB, free: 16.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.434, allocations: 0.875 kB / 0.6926 GB, free: 16.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.434, allocations: 0 / 0.6926 GB, free: 16.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.4344, allocations: 257.6 kB / 0.6929 GB, free: 16.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.855e-05/0.4344, allocations: 102 kB / 0.693 GB, free: 16.14 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.4345, allocations: 5.516 kB / 0.693 GB, free: 16.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.4346, allocations: 15.8 kB / 0.693 GB, free: 16.13 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.4347, allocations: 16.16 kB / 0.693 GB, free: 16.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.4347, allocations: 2.875 kB / 0.693 GB, free: 16.13 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.166e-05/0.4347, allocations: 116.9 kB / 0.6931 GB, free: 16.04 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4347, allocations: 0 / 0.6931 GB, free: 16.04 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003359/0.4351, allocations: 60.44 kB / 0.6932 GB, free: 16.04 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.0002284/0.4353, allocations: 155.7 kB / 0.6933 GB, free: 15.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004687/0.4358, allocations: 167.4 kB / 0.6935 GB, free: 15.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4358, allocations: 6.203 kB / 0.6935 GB, free: 15.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.436, allocations: 67.5 kB / 0.6936 GB, free: 15.89 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.4363, allocations: 21.44 kB / 0.6936 GB, free: 15.88 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004113/0.4367, allocations: 252.8 kB / 0.6938 GB, free: 15.71 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.4368, allocations: 0.7059 MB / 0.6945 GB, free: 15.02 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.714e-05/0.4369, allocations: 26.16 kB / 0.6945 GB, free: 15.01 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/0.437, allocations: 20.72 kB / 0.6946 GB, free: 15 MB / 494.1 MB Notification: Performance of SimCode: time 5.21e-07/0.437, allocations: 0 / 0.6946 GB, free: 15 MB / 494.1 MB Notification: Performance of Templates: time 0.005886/0.4429, allocations: 2.735 MB / 0.6972 GB, free: 14.76 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)