Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.726/1.726, allocations: 288.4 MB / 303.6 MB, free: 8.062 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.001077/0.001077, allocations: 183.2 kB / 372.3 MB, free: 10.13 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.666/1.666, allocations: 205.4 MB / 0.631 GB, free: 9.898 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.000762/0.000762, allocations: 92.8 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000471/0.0004711, allocations: 16.19 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2652, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001593/0.2669, allocations: 1.104 MB / 0.9812 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.2686, allocations: 1.766 MB / 0.9829 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.132e-05/0.2686, allocations: 0 / 0.9829 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008549/0.2695, allocations: 344.2 kB / 0.9833 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.586e-05/0.2695, allocations: 19.91 kB / 0.9833 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.737e-06/0.2696, allocations: 0 / 0.9833 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.2698, allocations: 131.2 kB / 0.9834 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.25e-05/0.2699, allocations: 21.48 kB / 0.9834 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.033e-05/0.2699, allocations: 43.8 kB / 0.9835 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.27, allocations: 59.78 kB / 0.9835 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.2701, allocations: 4 kB / 0.9835 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003581/0.2704, allocations: 171.9 kB / 0.9837 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.171e-05/0.2705, allocations: 35.88 kB / 0.9837 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.801e-05/0.2706, allocations: 101.3 kB / 0.9838 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.2708, allocations: 199.5 kB / 0.984 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.2708, allocations: 0 / 0.984 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2708, allocations: 0 / 0.984 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.2708, allocations: 0 / 0.984 GB, free: 23.36 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006307/0.2715, allocations: 478.7 kB / 0.9845 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.2715, allocations: 8.031 kB / 0.9845 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.2717, allocations: 103.9 kB / 0.9846 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.2718, allocations: 299.3 kB / 0.9849 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.758e-05/0.2719, allocations: 150.9 kB / 0.985 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.2719, allocations: 154.9 kB / 0.9851 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.445e-05/0.272, allocations: 105.1 kB / 0.9852 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.272, allocations: 75.28 kB / 0.9853 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.2721, allocations: 154.6 kB / 0.9855 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.836e-05/0.2721, allocations: 154.6 kB / 0.9856 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.242e-05/0.2721, allocations: 158.5 kB / 0.9858 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002645/0.2724, allocations: 0.5055 MB / 0.9863 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.376e-05/0.2725, allocations: 169.1 kB / 0.9864 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.122e-05/0.2725, allocations: 80.14 kB / 0.9865 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.2725, allocations: 75.28 kB / 0.9866 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.2726, allocations: 109.8 kB / 0.9867 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.2726, allocations: 3.938 kB / 0.9867 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001711/0.2727, allocations: 53.36 kB / 0.9867 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.2728, allocations: 134.7 kB / 0.9869 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003556/0.2732, allocations: 310.4 kB / 0.9872 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.2732, allocations: 25.7 kB / 0.9872 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.082e-05/0.2732, allocations: 116.4 kB / 0.9873 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-06/0.2733, allocations: 0 / 0.9873 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.2733, allocations: 4 kB / 0.9873 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.336e-05/0.2733, allocations: 330.8 kB / 0.9876 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.285e-05/0.2734, allocations: 63.94 kB / 0.9877 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.495e-05/0.2735, allocations: 125.9 kB / 0.9878 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.2737, allocations: 209.8 kB / 0.988 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2737, allocations: 0 / 0.988 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003334/0.2741, allocations: 233.4 kB / 0.9882 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.2741, allocations: 12 kB / 0.9882 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.2741, allocations: 3.938 kB / 0.9882 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.2741, allocations: 4 kB / 0.9882 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.064e-06/0.2741, allocations: 0 / 0.9882 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.2742, allocations: 4 kB / 0.9882 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.879e-05/0.2743, allocations: 23.59 kB / 0.9883 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.2743, allocations: 7.984 kB / 0.9883 GB, free: 18.72 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: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 0.0001634/0.2744, allocations: 229 kB / 0.9885 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.2745, allocations: 128.7 kB / 0.9886 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.928e-05/0.2745, allocations: 113.6 kB / 0.9887 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.038e-05/0.2746, allocations: 192.2 kB / 0.9889 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.56e-05/0.2746, allocations: 180.2 kB / 0.9891 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.644e-05/0.2747, allocations: 180.2 kB / 0.9892 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.2748, allocations: 453.1 kB / 0.9897 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/0.2749, allocations: 101 kB / 0.9898 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.287e-05/0.2749, allocations: 120.8 kB / 0.9899 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.729e-05/0.2749, allocations: 176.3 kB / 0.9901 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.123e-05/0.275, allocations: 176.3 kB / 0.9902 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.344e-05/0.275, allocations: 184.2 kB / 0.9904 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-05/0.2751, allocations: 184.3 kB / 0.9906 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.471e-05/0.2752, allocations: 319.7 kB / 0.9909 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-05/0.2752, allocations: 201.9 kB / 0.9911 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.326e-05/0.2753, allocations: 192.1 kB / 0.9913 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.435e-05/0.2754, allocations: 109 kB / 0.9914 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.2754, allocations: 180.2 kB / 0.9915 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.2754, allocations: 105 kB / 0.9916 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001394/0.2756, allocations: 213.9 kB / 0.9918 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2756, allocations: 0 / 0.9918 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003234/0.2759, allocations: 63.98 kB / 0.9919 GB, free: 14.78 MB / 0.6198 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 (0): * Single equations (assignments): 0 * 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.0002907/0.2762, allocations: 270.5 kB / 0.9922 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001533/0.2764, allocations: 103.9 kB / 0.9923 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2764, allocations: 0 / 0.9923 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.873e-06/0.2764, allocations: 4.375 kB / 0.9923 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.2767, allocations: 0.5268 MB / 0.9928 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004763/0.2772, allocations: 413 kB / 0.9932 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.2774, allocations: 0.7473 MB / 0.9939 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.243e-05/0.2774, allocations: 0 / 0.9939 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.7e-05/0.2774, allocations: 11.44 kB / 0.9939 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2774, allocations: 0 / 0.9939 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of Templates: time 0.004557/0.282, allocations: 2.197 MB / 0.996 GB, free: 10.47 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)