Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.002209/0.00221, allocations: 198.5 kB / 16.14 MB, free: 6.77 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.355/1.355, allocations: 205.1 MB / 222 MB, free: 4.719 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.904/1.904, allocations: 292.2 MB / 0.5484 GB, free: 13.69 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.001361/0.001362, allocations: 66.58 kB / 0.6708 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2563, allocations: 114.6 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003368/0.2597, allocations: 1.47 MB / 0.7841 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003371/0.2631, allocations: 2.639 MB / 0.7867 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.683e-05/0.2632, allocations: 0 / 0.7867 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001855/0.265, allocations: 0.556 MB / 0.7872 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.356e-05/0.2651, allocations: 23.91 kB / 0.7873 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.536e-06/0.2651, allocations: 0 / 0.7873 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.2654, allocations: 170.9 kB / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.796e-05/0.2654, allocations: 36.41 kB / 0.7875 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.036e-05/0.2655, allocations: 55.72 kB / 0.7875 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.2657, allocations: 87.52 kB / 0.7876 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.2657, allocations: 0 / 0.7876 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.2669, allocations: 495.3 kB / 0.7881 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.27e-05/0.267, allocations: 35.83 kB / 0.7881 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.2671, allocations: 99.3 kB / 0.7882 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005953/0.2677, allocations: 394.3 kB / 0.7886 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2677, allocations: 0 / 0.7886 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.42e-07/0.2677, allocations: 0 / 0.7886 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.2678, allocations: 4 kB / 0.7886 GB, free: 7.949 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0008388/0.2686, allocations: 0.549 MB / 0.7891 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.2687, allocations: 12.03 kB / 0.7891 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.2688, allocations: 103.8 kB / 0.7892 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.2691, allocations: 298.4 kB / 0.7895 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.547e-05/0.2692, allocations: 154.9 kB / 0.7897 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.666e-05/0.2693, allocations: 154.9 kB / 0.7898 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.785e-05/0.2694, allocations: 105.5 kB / 0.7899 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/0.2694, allocations: 75.47 kB / 0.79 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-05/0.2695, allocations: 158.5 kB / 0.7901 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.894e-05/0.2696, allocations: 150.6 kB / 0.7903 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.214e-05/0.2696, allocations: 158.5 kB / 0.7904 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.2701, allocations: 0.5327 MB / 0.7909 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.2702, allocations: 169.1 kB / 0.7911 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.626e-05/0.2702, allocations: 80.14 kB / 0.7912 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.745e-05/0.2703, allocations: 79.28 kB / 0.7913 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.903e-05/0.2703, allocations: 109.8 kB / 0.7914 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.2704, allocations: 0 / 0.7914 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.000191/0.2705, allocations: 57.27 kB / 0.7914 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.639e-05/0.2706, allocations: 126.7 kB / 0.7915 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004662/0.2711, allocations: 437.2 kB / 0.7919 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.2712, allocations: 29.7 kB / 0.792 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.831e-05/0.2713, allocations: 136.5 kB / 0.7921 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.2713, allocations: 0 / 0.7921 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.801e-05/0.2714, allocations: 85.67 kB / 0.7922 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.2715, allocations: 338.8 kB / 0.7925 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.2717, allocations: 104.4 kB / 0.7926 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.2719, allocations: 169.3 kB / 0.7928 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/0.2722, allocations: 301.6 kB / 0.7931 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.2722, allocations: 4 kB / 0.7931 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004885/0.2727, allocations: 328.8 kB / 0.7934 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.2727, allocations: 11.98 kB / 0.7934 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.2728, allocations: 3.938 kB / 0.7934 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.2728, allocations: 4 kB / 0.7934 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.773e-06/0.2728, allocations: 224 / 0.7934 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.2728, allocations: 8 kB / 0.7934 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.2729, allocations: 43.36 kB / 0.7934 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.273, allocations: 4 kB / 0.7934 GB, free: 2.672 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002788/0.2732, allocations: 249.6 kB / 0.7937 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.424e-05/0.2733, allocations: 124.6 kB / 0.7938 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.047e-05/0.2734, allocations: 118.9 kB / 0.7939 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.577e-05/0.2735, allocations: 188.2 kB / 0.7941 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.832e-05/0.2736, allocations: 184.3 kB / 0.7943 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.544e-05/0.2737, allocations: 180.2 kB / 0.7944 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.274, allocations: 473.2 kB / 0.7949 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-05/0.274, allocations: 108.9 kB / 0.795 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.234e-05/0.2741, allocations: 105 kB / 0.7951 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.616e-05/0.2742, allocations: 180.3 kB / 0.7953 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.631e-05/0.2743, allocations: 184.1 kB / 0.7954 GB, free: 500 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.517e-05/0.2743, allocations: 180.3 kB / 0.7956 GB, free: 312 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.93e-05/0.2744, allocations: 188.2 kB / 0.7958 GB, free: 116 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.2746, allocations: 315.5 kB / 0.7961 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.2747, allocations: 209.7 kB / 0.7963 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.2749, allocations: 180.2 kB / 0.7965 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.275, allocations: 104.9 kB / 0.7966 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.822e-05/0.2751, allocations: 180.6 kB / 0.7967 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-05/0.2751, allocations: 108.9 kB / 0.7968 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000274/0.2754, allocations: 279.1 kB / 0.7971 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2754, allocations: 0 / 0.7971 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004251/0.2759, allocations: 87.92 kB / 0.7972 GB, free: 14.61 MB / 0.6231 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 (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.0004387/0.2763, allocations: 298.3 kB / 0.7975 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002293/0.2765, allocations: 159.9 kB / 0.7976 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2766, allocations: 0 / 0.7976 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.2766, allocations: 448 / 0.7976 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004819/0.277, allocations: 0.5394 MB / 0.7982 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006644/0.2777, allocations: 0.5355 MB / 0.7987 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.2781, allocations: 0.7746 MB / 0.7994 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.418e-05/0.2781, allocations: 4 kB / 0.7994 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.53e-05/0.2781, allocations: 7.438 kB / 0.7995 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of SimCode: time 2.11e-07/0.2781, allocations: 4 kB / 0.7995 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of Templates: time 0.005709/0.2838, allocations: 2.822 MB / 0.8022 GB, free: 9.41 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)