Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.691/1.691, allocations: 288.4 MB / 303.4 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 190.5 kB / 372 MB, free: 10.19 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.4 MB / 0.6307 GB, free: 9.906 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000695/0.000695, allocations: 94.42 kB / 0.7441 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003843/0.0003843, allocations: 13.88 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2352, allocations: 115.3 MB / 0.9796 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.001913/0.2371, allocations: 1.793 MB / 0.9813 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.2384, allocations: 0.9682 MB / 0.9823 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.2385, allocations: 7.938 kB / 0.9823 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.192e-05/0.2386, allocations: 15.8 kB / 0.9823 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.2389, allocations: 71.41 kB / 0.9824 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.2391, allocations: 133.1 kB / 0.9825 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.2394, allocations: 266.8 kB / 0.9828 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.2395, allocations: 48.72 kB / 0.9828 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.2396, allocations: 95.55 kB / 0.9829 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.2398, allocations: 119.5 kB / 0.983 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.2398, allocations: 8 kB / 0.983 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003183/0.2402, allocations: 279.7 kB / 0.9833 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.809e-05/0.2402, allocations: 39.77 kB / 0.9833 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/0.2403, allocations: 61.58 kB / 0.9834 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.2405, allocations: 227.6 kB / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.351e-06/0.2405, allocations: 0 / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2405, allocations: 0 / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.2405, allocations: 0 / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009555/0.2415, allocations: 0.6116 MB / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.2415, allocations: 8.031 kB / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.2417, allocations: 35.7 kB / 0.9842 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.242, allocations: 266.3 kB / 0.9845 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.242, allocations: 16.28 kB / 0.9845 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.242, allocations: 12 kB / 0.9845 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004828/0.2425, allocations: 260.2 kB / 0.9848 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2425, allocations: 0 / 0.9848 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.2426, allocations: 4 kB / 0.9848 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.2426, allocations: 4 kB / 0.9848 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006558/0.2432, allocations: 247.8 kB / 0.985 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009217/0.2442, allocations: 0.9461 MB / 0.9859 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007157/0.2449, allocations: 269.2 kB / 0.9862 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003099/0.2452, allocations: 125.9 kB / 0.9863 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.2452, allocations: 7.984 kB / 0.9863 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.2453, allocations: 30.56 kB / 0.9864 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.2453, allocations: 0 / 0.9864 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001084/0.2464, allocations: 409 kB / 0.9867 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.2464, allocations: 81.05 kB / 0.9868 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.2466, allocations: 263 kB / 0.9871 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.2467, allocations: 29.7 kB / 0.9871 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.751e-05/0.2468, allocations: 164.1 kB / 0.9873 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.2468, allocations: 51.27 kB / 0.9873 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.2468, allocations: 4 kB / 0.9873 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.582e-05/0.2469, allocations: 342.8 kB / 0.9876 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/0.2472, allocations: 111.9 kB / 0.9877 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/0.2475, allocations: 163.1 kB / 0.9879 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.2478, allocations: 131.8 kB / 0.988 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2478, allocations: 3.938 kB / 0.988 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007414/0.2486, allocations: 333 kB / 0.9883 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.2486, allocations: 4 kB / 0.9884 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.2486, allocations: 4 kB / 0.9884 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.2487, allocations: 4 kB / 0.9884 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002803/0.2489, allocations: 76.02 kB / 0.9884 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.249, allocations: 0 / 0.9884 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.2492, allocations: 55.73 kB / 0.9885 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.2492, allocations: 12 kB / 0.9885 GB, free: 18.16 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.497e-05/0.2493, allocations: 133.7 kB / 0.9886 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.379e-05/0.2494, allocations: 23.72 kB / 0.9886 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007581/0.2502, allocations: 335.8 kB / 0.989 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.2502, allocations: 0 / 0.989 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2502, allocations: 4 kB / 0.989 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2502, allocations: 7.984 kB / 0.989 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.2505, allocations: 293.4 kB / 0.9893 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2505, allocations: 0 / 0.9893 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.2508, allocations: 68.17 kB / 0.9893 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.2508, allocations: 4 kB / 0.9893 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.2508, allocations: 4 kB / 0.9893 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.2509, allocations: 7.922 kB / 0.9893 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2509, allocations: 0 / 0.9893 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007289/0.2516, allocations: 482.9 kB / 0.9898 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.2516, allocations: 100.8 kB / 0.9899 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.2517, allocations: 7.891 kB / 0.9899 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.2519, allocations: 43.95 kB / 0.9899 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.61e-05/0.252, allocations: 15.98 kB / 0.99 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.252, allocations: 4 kB / 0.99 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001278/0.2522, allocations: 190 kB / 0.9901 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2522, allocations: 0 / 0.9901 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003145/0.2525, allocations: 63.83 kB / 0.9902 GB, free: 16.31 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001888/0.2527, allocations: 115.5 kB / 0.9903 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007044/0.2534, allocations: 267.9 kB / 0.9906 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2534, allocations: 0 / 0.9906 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003337/0.2537, allocations: 143.8 kB / 0.9907 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005539/0.2543, allocations: 82.77 kB / 0.9908 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007013/0.255, allocations: 0.4987 MB / 0.9913 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.2552, allocations: 0.748 MB / 0.992 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001378/0.2553, allocations: 30.28 kB / 0.992 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.069e-05/0.2554, allocations: 19.44 kB / 0.9921 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.2554, allocations: 0 / 0.9921 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of Templates: time 0.005701/0.2611, allocations: 3.425 MB / 0.9954 GB, free: 11 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)