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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8045/0.8045, allocations: 143.4 MB / 159.2 MB, free: 4.891 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 184.5 kB / 191.9 MB, free: 5.734 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 447.3 MB, free: 5.879 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009722/0.0009722, allocations: 106.3 kB / 0.517 GB, free: 3.738 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001843/0.001843, allocations: 279.7 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 87.86 kB / 0.6885 GB, free: 3.832 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2933, allocations: 81.28 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004391/0.2977, allocations: 4.577 MB / 0.7724 GB, free: 23.08 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007508/0.2985, allocations: 0.8257 MB / 0.7732 GB, free: 22.25 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.458e-05/0.2986, allocations: 0 / 0.7732 GB, free: 22.25 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.2987, allocations: 31.83 kB / 0.7732 GB, free: 22.22 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.381e-05/0.2988, allocations: 27.77 kB / 0.7733 GB, free: 22.19 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.2991, allocations: 143.5 kB / 0.7734 GB, free: 22.05 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.000114/0.2993, allocations: 167.4 kB / 0.7736 GB, free: 21.89 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.919e-05/0.2993, allocations: 25.06 kB / 0.7736 GB, free: 21.86 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.2995, allocations: 75.69 kB / 0.7736 GB, free: 21.79 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.281e-05/0.2996, allocations: 75.72 kB / 0.7737 GB, free: 21.71 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.2996, allocations: 8 kB / 0.7737 GB, free: 21.71 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002575/0.2998, allocations: 139.8 kB / 0.7739 GB, free: 21.57 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.656e-05/0.2999, allocations: 27.89 kB / 0.7739 GB, free: 21.54 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 5.389e-05/0.2999, allocations: 67.59 kB / 0.774 GB, free: 21.48 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.3002, allocations: 234.1 kB / 0.7742 GB, free: 21.25 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3002, allocations: 0 / 0.7742 GB, free: 21.25 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3003, allocations: 3.938 kB / 0.7742 GB, free: 21.25 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.3003, allocations: 0 / 0.7742 GB, free: 21.25 MB / 458.7 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.0007831/0.3011, allocations: 478.9 kB / 0.7746 GB, free: 20.73 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3011, allocations: 12.03 kB / 0.7746 GB, free: 20.72 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.3012, allocations: 8.844 kB / 0.7747 GB, free: 20.71 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.654e-05/0.3013, allocations: 189.4 kB / 0.7748 GB, free: 20.49 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.3013, allocations: 8.375 kB / 0.7748 GB, free: 20.48 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.3013, allocations: 12.38 kB / 0.7749 GB, free: 20.47 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.3016, allocations: 127.2 kB / 0.775 GB, free: 20.34 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3016, allocations: 0 / 0.775 GB, free: 20.34 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.3016, allocations: 4 kB / 0.775 GB, free: 20.34 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3017, allocations: 0 / 0.775 GB, free: 20.34 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003735/0.302, allocations: 139.9 kB / 0.7751 GB, free: 20.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008265/0.3029, allocations: 464.5 kB / 0.7756 GB, free: 19.7 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.3031, allocations: 128.1 kB / 0.7757 GB, free: 19.56 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.3033, allocations: 68.81 kB / 0.7757 GB, free: 19.49 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/0.3044, allocations: 0.9725 MB / 0.7767 GB, free: 18.38 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.3044, allocations: 38.56 kB / 0.7767 GB, free: 18.34 MB / 458.7 MB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.3044, allocations: 0 / 0.7767 GB, free: 18.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006266/0.3051, allocations: 209.4 kB / 0.7769 GB, free: 18.12 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.3051, allocations: 51.41 kB / 0.777 GB, free: 18.06 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.635e-05/0.3052, allocations: 166.3 kB / 0.7771 GB, free: 17.89 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.3052, allocations: 29.7 kB / 0.7772 GB, free: 17.86 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.333e-05/0.3053, allocations: 112.3 kB / 0.7773 GB, free: 17.74 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.3053, allocations: 43.45 kB / 0.7773 GB, free: 17.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.397e-05/0.3054, allocations: 49.7 kB / 0.7774 GB, free: 17.64 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 3.943e-05/0.3054, allocations: 326.8 kB / 0.7777 GB, free: 17.32 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.3056, allocations: 79.88 kB / 0.7778 GB, free: 17.24 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.3058, allocations: 108.2 kB / 0.7779 GB, free: 17.12 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/0.3062, allocations: 169.7 kB / 0.778 GB, free: 16.95 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3062, allocations: 0 / 0.778 GB, free: 16.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004813/0.3067, allocations: 253.2 kB / 0.7783 GB, free: 16.69 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.3067, allocations: 4 kB / 0.7783 GB, free: 16.69 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3067, allocations: 7.938 kB / 0.7783 GB, free: 16.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3067, allocations: 3.938 kB / 0.7783 GB, free: 16.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.307, allocations: 55.98 kB / 0.7783 GB, free: 16.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.307, allocations: 8 kB / 0.7783 GB, free: 16.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.3072, allocations: 27.83 kB / 0.7784 GB, free: 16.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.3072, allocations: 4 kB / 0.7784 GB, free: 16.58 MB / 458.7 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.331e-05/0.3073, allocations: 135.5 kB / 0.7785 GB, free: 16.44 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.3073, allocations: 15.8 kB / 0.7785 GB, free: 16.43 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004192/0.3077, allocations: 179.2 kB / 0.7787 GB, free: 16.24 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3077, allocations: 4 kB / 0.7787 GB, free: 16.24 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3077, allocations: 3.984 kB / 0.7787 GB, free: 16.23 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3077, allocations: 0 / 0.7787 GB, free: 16.23 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.3079, allocations: 213.6 kB / 0.7789 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3079, allocations: 0 / 0.7789 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.3081, allocations: 31.97 kB / 0.7789 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3081, allocations: 0 / 0.7789 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.3081, allocations: 11.94 kB / 0.7789 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3081, allocations: 0 / 0.7789 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3081, allocations: 0 / 0.7789 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006428/0.3087, allocations: 0.8798 MB / 0.7798 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/0.3088, allocations: 100.8 kB / 0.7799 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.3088, allocations: 4 kB / 0.7799 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.309, allocations: 15.97 kB / 0.7799 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.309, allocations: 11.98 kB / 0.7799 GB, free: 14.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.309, allocations: 0 / 0.7799 GB, free: 14.85 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.121e-05/0.3091, allocations: 120.9 kB / 0.78 GB, free: 14.73 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3091, allocations: 4 kB / 0.78 GB, free: 14.73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003999/0.3095, allocations: 60.12 kB / 0.7801 GB, free: 14.67 MB / 458.7 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.0002668/0.3098, allocations: 163.6 kB / 0.7802 GB, free: 14.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004495/0.3102, allocations: 162.1 kB / 0.7804 GB, free: 14.34 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3102, allocations: 0 / 0.7804 GB, free: 14.34 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.3104, allocations: 75.81 kB / 0.7805 GB, free: 14.27 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.3108, allocations: 29.94 kB / 0.7805 GB, free: 14.24 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000457/0.3113, allocations: 413.9 kB / 0.7809 GB, free: 13.79 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.3114, allocations: 0.7087 MB / 0.7816 GB, free: 13.06 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.3115, allocations: 28.56 kB / 0.7816 GB, free: 13.04 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.801e-05/0.3116, allocations: 15.44 kB / 0.7816 GB, free: 13.02 MB / 458.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3116, allocations: 0 / 0.7816 GB, free: 13.02 MB / 458.7 MB Notification: Performance of Templates: time 0.004738/0.3163, allocations: 2.606 MB / 0.7842 GB, free: 10.44 MB / 458.7 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)