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.001379/0.001379, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001634/0.001634, allocations: 193 kB / 16.13 MB, free: 6.652 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.52/1.52, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.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.83/1.83, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001308/0.001308, allocations: 63.67 kB / 0.6708 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2573, allocations: 114.5 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.00332/0.2606, allocations: 2.201 MB / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001669/0.2623, allocations: 1.065 MB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.2625, allocations: 7.938 kB / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.581e-05/0.2625, allocations: 15.84 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.2628, allocations: 71.42 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.2632, allocations: 148.7 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.2634, allocations: 274.8 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.2636, allocations: 52.7 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.2637, allocations: 107.5 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.2639, allocations: 135.4 kB / 0.7866 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.674e-05/0.264, allocations: 12 kB / 0.7867 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003699/0.2644, allocations: 291.6 kB / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.411e-05/0.2644, allocations: 35.83 kB / 0.787 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.2645, allocations: 123.2 kB / 0.7871 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.2649, allocations: 319.2 kB / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2649, allocations: 0 / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.22e-07/0.2649, allocations: 0 / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.2649, allocations: 0 / 0.7874 GB, free: 9.164 MB / 0.6075 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.00104/0.2659, allocations: 0.6233 MB / 0.788 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.266, allocations: 15.97 kB / 0.788 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/0.2662, allocations: 36.56 kB / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.2665, allocations: 275.6 kB / 0.7883 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.2666, allocations: 12.66 kB / 0.7883 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.2666, allocations: 24.06 kB / 0.7883 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005165/0.2671, allocations: 224.3 kB / 0.7886 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2671, allocations: 0 / 0.7886 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.2672, allocations: 7.984 kB / 0.7886 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.2672, allocations: 7.984 kB / 0.7886 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006344/0.2678, allocations: 203.7 kB / 0.7888 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.269, allocations: 0.9423 MB / 0.7897 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007828/0.2697, allocations: 245.1 kB / 0.7899 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000327/0.2701, allocations: 109.6 kB / 0.79 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.2701, allocations: 0 / 0.79 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.2702, allocations: 34.56 kB / 0.7901 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.014e-06/0.2702, allocations: 4 kB / 0.7901 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.001167/0.2713, allocations: 337.3 kB / 0.7904 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/0.2714, allocations: 77.11 kB / 0.7905 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.2717, allocations: 270.9 kB / 0.7907 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.2717, allocations: 33.7 kB / 0.7907 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.2719, allocations: 156.1 kB / 0.7909 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.2719, allocations: 47.27 kB / 0.7909 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.031e-05/0.272, allocations: 41.7 kB / 0.791 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.2721, allocations: 342.8 kB / 0.7913 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003177/0.2725, allocations: 87.92 kB / 0.7914 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/0.2728, allocations: 152.7 kB / 0.7915 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006055/0.2734, allocations: 245.7 kB / 0.7918 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.2734, allocations: 3.938 kB / 0.7918 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007685/0.2742, allocations: 289 kB / 0.7921 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.2742, allocations: 4 kB / 0.7921 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2742, allocations: 0 / 0.7921 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.2743, allocations: 4 kB / 0.7921 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.2746, allocations: 68.05 kB / 0.7921 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.2746, allocations: 4 kB / 0.7921 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.2748, allocations: 47.64 kB / 0.7922 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.2748, allocations: 4 kB / 0.7922 GB, free: 3.941 MB / 0.6075 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 0.000116/0.275, allocations: 137.7 kB / 0.7923 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.2751, allocations: 23.72 kB / 0.7923 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007858/0.2759, allocations: 295.8 kB / 0.7926 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.2759, allocations: 4 kB / 0.7926 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.2759, allocations: 0 / 0.7926 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.2759, allocations: 0 / 0.7926 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003449/0.2762, allocations: 301.3 kB / 0.7929 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2763, allocations: 0 / 0.7929 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002715/0.2765, allocations: 55.95 kB / 0.793 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2765, allocations: 0 / 0.793 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.2766, allocations: 4 kB / 0.793 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2766, allocations: 0 / 0.793 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2766, allocations: 7.938 kB / 0.793 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007992/0.2774, allocations: 453.4 kB / 0.7934 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.976e-05/0.2775, allocations: 96.73 kB / 0.7935 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/0.2775, allocations: 8 kB / 0.7935 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/0.2778, allocations: 27.91 kB / 0.7935 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.258e-05/0.2779, allocations: 19.97 kB / 0.7935 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.2779, allocations: 4 kB / 0.7936 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001641/0.2781, allocations: 190 kB / 0.7937 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2781, allocations: 4 kB / 0.7937 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003518/0.2784, allocations: 59.94 kB / 0.7938 GB, free: 2.184 MB / 0.6075 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.000222/0.2787, allocations: 123.4 kB / 0.7939 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006914/0.2794, allocations: 227.9 kB / 0.7941 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2794, allocations: 0 / 0.7941 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000327/0.2797, allocations: 119.8 kB / 0.7942 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006394/0.2803, allocations: 77.27 kB / 0.7943 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007903/0.2811, allocations: 0.5106 MB / 0.7948 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.2815, allocations: 0.7519 MB / 0.7955 GB, free: 328 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001484/0.2816, allocations: 26.28 kB / 0.7956 GB, free: 300 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.867e-05/0.2817, allocations: 27.44 kB / 0.7956 GB, free: 276 kB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.2817, allocations: 0 / 0.7956 GB, free: 276 kB / 0.6075 GB Notification: Performance of Templates: time 0.006955/0.2887, allocations: 3.569 MB / 0.7991 GB, free: 12.77 MB / 0.6231 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)