Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 112.8 kB / 16.37 MB, free: 6.004 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.001884/0.001885, allocations: 192 kB / 17.31 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.425/1.425, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.802/1.802, allocations: 292.3 MB / 0.5496 GB, free: 17.64 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.001414/0.001415, allocations: 71.84 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2544, allocations: 114.5 MB / 0.7848 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003352/0.2578, allocations: 2.158 MB / 0.7869 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4663/0.7241, allocations: 1.036 MB / 0.7879 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003512/0.7245, allocations: 7.25 kB / 0.7879 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.189e-05/0.7247, allocations: 23.77 kB / 0.7879 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004557/0.7251, allocations: 79.41 kB / 0.788 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006152/0.7258, allocations: 195.7 kB / 0.7882 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002944/0.7261, allocations: 292.9 kB / 0.7885 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.7263, allocations: 56.67 kB / 0.7885 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.7264, allocations: 111.5 kB / 0.7886 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.7266, allocations: 140.1 kB / 0.7888 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.579e-05/0.7266, allocations: 19.31 kB / 0.7888 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003967/0.727, allocations: 300.8 kB / 0.7891 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.457e-05/0.7271, allocations: 50.83 kB / 0.7891 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.7272, allocations: 118.6 kB / 0.7892 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003473/0.7276, allocations: 335.3 kB / 0.7896 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.7276, allocations: 2.625 kB / 0.7896 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.615e-06/0.7276, allocations: 0 / 0.7896 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.336e-05/0.7276, allocations: 0 / 0.7896 GB, free: 46.25 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009537/0.7286, allocations: 0.6212 MB / 0.7902 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.7286, allocations: 10.55 kB / 0.7902 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.7288, allocations: 37.78 kB / 0.7902 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.7292, allocations: 293.5 kB / 0.7905 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.7292, allocations: 7.719 kB / 0.7905 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.7293, allocations: 16.69 kB / 0.7905 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000492/0.7298, allocations: 234 kB / 0.7907 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.7298, allocations: 3.938 kB / 0.7907 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.7298, allocations: 5.688 kB / 0.7908 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.7298, allocations: 5.25 kB / 0.7908 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005998/0.7304, allocations: 202 kB / 0.791 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009577/0.7314, allocations: 0.9426 MB / 0.7919 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007253/0.7321, allocations: 238.2 kB / 0.7921 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003056/0.7325, allocations: 109.7 kB / 0.7922 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.7325, allocations: 3.781 kB / 0.7922 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.7325, allocations: 33.94 kB / 0.7922 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.7325, allocations: 3.25 kB / 0.7922 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.00111/0.7336, allocations: 335.2 kB / 0.7926 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.7337, allocations: 83.62 kB / 0.7926 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.7339, allocations: 270 kB / 0.7929 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.7339, allocations: 25.7 kB / 0.7929 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.523e-05/0.734, allocations: 159.1 kB / 0.7931 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.7341, allocations: 56.66 kB / 0.7931 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.882e-05/0.7342, allocations: 48.33 kB / 0.7932 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.443e-05/0.7342, allocations: 336.1 kB / 0.7935 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.7345, allocations: 90.52 kB / 0.7936 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/0.7349, allocations: 139.5 kB / 0.7937 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005973/0.7355, allocations: 239.2 kB / 0.7939 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.7355, allocations: 0 / 0.7939 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000765/0.7362, allocations: 303.8 kB / 0.7942 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.7363, allocations: 6.875 kB / 0.7942 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.7363, allocations: 0 / 0.7942 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.7363, allocations: 8.547 kB / 0.7942 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/0.7366, allocations: 60.36 kB / 0.7943 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.7366, allocations: 2.625 kB / 0.7943 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.7368, allocations: 40.89 kB / 0.7943 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.7369, allocations: 5.25 kB / 0.7944 GB, free: 43.73 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.458e-05/0.737, allocations: 133.6 kB / 0.7945 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.7371, allocations: 33.09 kB / 0.7945 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007476/0.7378, allocations: 294.3 kB / 0.7948 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.7378, allocations: 0 / 0.7948 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.7378, allocations: 3.438 kB / 0.7948 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.7379, allocations: 0 / 0.7948 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.7382, allocations: 304.4 kB / 0.7951 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.7382, allocations: 3.688 kB / 0.7951 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.7384, allocations: 54.78 kB / 0.7951 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.7384, allocations: 0 / 0.7951 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.7384, allocations: 7.281 kB / 0.7951 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.7384, allocations: 4 kB / 0.7952 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.7385, allocations: 3.875 kB / 0.7952 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007355/0.7392, allocations: 444.8 kB / 0.7956 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.645e-05/0.7392, allocations: 101.3 kB / 0.7957 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.7393, allocations: 7.344 kB / 0.7957 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.7395, allocations: 27.75 kB / 0.7957 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.244e-05/0.7396, allocations: 17.3 kB / 0.7957 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.7396, allocations: 4.719 kB / 0.7957 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001327/0.7398, allocations: 189.1 kB / 0.7959 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7398, allocations: 7.75 kB / 0.7959 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003482/0.7401, allocations: 56.78 kB / 0.796 GB, free: 42.93 MB / 0.6544 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 (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.0001926/0.7403, allocations: 123.1 kB / 0.7961 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000721/0.7411, allocations: 226.2 kB / 0.7963 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7411, allocations: 0 / 0.7963 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003229/0.7414, allocations: 124.4 kB / 0.7964 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005187/0.7419, allocations: 75.94 kB / 0.7965 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007284/0.7427, allocations: 456.6 kB / 0.7969 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/0.7428, allocations: 0.7529 MB / 0.7977 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.825e-05/0.7429, allocations: 30.44 kB / 0.7977 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.7429, allocations: 0 / 0.7977 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of Templates: time 0.006282/0.7492, allocations: 3.457 MB / 0.8011 GB, free: 41.68 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)