Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.796/1.796, allocations: 292.3 MB / 308.1 MB, free: 4.281 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.00126/0.00126, allocations: 182.4 kB / 376.9 MB, free: 1.824 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.634/1.634, allocations: 205 MB / 0.6354 GB, free: 9.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 99.81 kB / 0.748 GB, free: 61.05 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001034, allocations: 55.92 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2854, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003446/0.2889, allocations: 1.675 MB / 0.9839 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001823/0.2908, allocations: 0.9405 MB / 0.9848 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.2909, allocations: 0 / 0.9848 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.09e-05/0.291, allocations: 3.938 kB / 0.9848 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.2913, allocations: 19.84 kB / 0.9848 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004523/0.2917, allocations: 103.8 kB / 0.9849 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.2919, allocations: 75.66 kB / 0.985 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.292, allocations: 8 kB / 0.985 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.2922, allocations: 35.84 kB / 0.985 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.2923, allocations: 31.84 kB / 0.985 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.2923, allocations: 4 kB / 0.9851 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004465/0.2928, allocations: 283.6 kB / 0.9853 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.821e-05/0.2928, allocations: 7.938 kB / 0.9853 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.081e-05/0.2929, allocations: 27.86 kB / 0.9854 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.2932, allocations: 147.8 kB / 0.9855 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2932, allocations: 0 / 0.9855 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.835e-06/0.2932, allocations: 3.984 kB / 0.9855 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.2933, allocations: 0 / 0.9855 GB, free: 6.992 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006841/0.2939, allocations: 415.2 kB / 0.9859 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.294, allocations: 12.03 kB / 0.9859 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.2942, allocations: 8.844 kB / 0.9859 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.2944, allocations: 190.3 kB / 0.9861 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.2944, allocations: 4.375 kB / 0.9861 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.2944, allocations: 8.125 kB / 0.9861 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.2947, allocations: 61.61 kB / 0.9862 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.2947, allocations: 0 / 0.9862 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.2947, allocations: 0 / 0.9862 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2947, allocations: 8 kB / 0.9862 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.2949, allocations: 43.95 kB / 0.9862 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005163/0.2954, allocations: 292.8 kB / 0.9865 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.2956, allocations: 62.48 kB / 0.9866 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.184e-05/0.2957, allocations: 24.97 kB / 0.9866 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.2957, allocations: 11.98 kB / 0.9866 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.2957, allocations: 34.5 kB / 0.9866 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.2957, allocations: 0 / 0.9866 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0003853/0.2961, allocations: 105.5 kB / 0.9867 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.2962, allocations: 55.41 kB / 0.9868 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.2963, allocations: 129.8 kB / 0.9869 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.2963, allocations: 29.7 kB / 0.9869 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.439e-05/0.2964, allocations: 92.08 kB / 0.987 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.2964, allocations: 23.66 kB / 0.987 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-05/0.2965, allocations: 21.7 kB / 0.9871 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.2966, allocations: 322.8 kB / 0.9874 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.425e-05/0.2967, allocations: 31.92 kB / 0.9874 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.116e-05/0.2967, allocations: 19.98 kB / 0.9874 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.2969, allocations: 52.83 kB / 0.9875 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2969, allocations: 384 / 0.9875 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002294/0.2971, allocations: 85.67 kB / 0.9876 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.2972, allocations: 4 kB / 0.9876 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2972, allocations: 0 / 0.9876 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.2972, allocations: 7.984 kB / 0.9876 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.2973, allocations: 19.94 kB / 0.9876 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.2974, allocations: 3.984 kB / 0.9876 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.278e-05/0.2974, allocations: 7.906 kB / 0.9876 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.2974, allocations: 3.938 kB / 0.9876 GB, free: 4.621 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 8.055e-05/0.2975, allocations: 113.8 kB / 0.9877 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-05/0.2976, allocations: 7.906 kB / 0.9877 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002581/0.2979, allocations: 102 kB / 0.9878 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2979, allocations: 0 / 0.9878 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2979, allocations: 0 / 0.9878 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.2979, allocations: 0 / 0.9878 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.2981, allocations: 185.5 kB / 0.988 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.2981, allocations: 0 / 0.988 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.132e-05/0.2982, allocations: 15.98 kB / 0.988 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.2982, allocations: 0 / 0.988 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.2982, allocations: 7.984 kB / 0.988 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2982, allocations: 8 kB / 0.988 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2983, allocations: 0 / 0.988 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005935/0.2988, allocations: 0.7551 MB / 0.9888 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/0.2989, allocations: 85 kB / 0.9888 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.2989, allocations: 7.938 kB / 0.9888 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.363e-05/0.299, allocations: 8 kB / 0.9889 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.2991, allocations: 8.172 kB / 0.9889 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.2991, allocations: 4 kB / 0.9889 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.775e-05/0.2992, allocations: 109.8 kB / 0.989 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.61e-07/0.2992, allocations: 3.938 kB / 0.989 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003511/0.2995, allocations: 20 kB / 0.989 GB, free: 3.055 MB / 0.7136 GB 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 (6): * Single equations (assignments): 6 * 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.0002177/0.2998, allocations: 115.3 kB / 0.9891 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000216/0.3, allocations: 63.84 kB / 0.9892 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3, allocations: 0 / 0.9892 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.009e-05/0.3001, allocations: 35.97 kB / 0.9892 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.3005, allocations: 4 kB / 0.9892 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005485/0.301, allocations: 324.9 kB / 0.9895 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.3013, allocations: 0.6887 MB / 0.9902 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.152e-05/0.3014, allocations: 19.91 kB / 0.9902 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.3014, allocations: 11.44 kB / 0.9902 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.3014, allocations: 0 / 0.9902 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of Templates: time 0.003614/0.305, allocations: 1.037 MB / 0.9912 GB, free: 0.7031 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)