Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.623/2.623, allocations: 287.3 MB / 302.3 MB, free: 8.344 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.001515/0.001515, allocations: 177 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.162/2.162, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001167/0.001166, allocations: 89.55 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004881/0.0004882, allocations: 10.22 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2278, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.00167/0.2296, allocations: 1.103 MB / 0.9793 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002481/0.2321, allocations: 1.623 MB / 0.9808 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.527e-05/0.2321, allocations: 0 / 0.9808 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.2335, allocations: 368.6 kB / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.09e-05/0.2335, allocations: 15.97 kB / 0.9812 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.366e-06/0.2335, allocations: 0 / 0.9812 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.2338, allocations: 111.7 kB / 0.9813 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.988e-05/0.2338, allocations: 21.44 kB / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.982e-05/0.2339, allocations: 35.86 kB / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.234, allocations: 55.78 kB / 0.9814 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.2341, allocations: 8 kB / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007618/0.2348, allocations: 227.9 kB / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.269e-05/0.2349, allocations: 31.89 kB / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.892e-05/0.235, allocations: 53.64 kB / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.2353, allocations: 167.8 kB / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2353, allocations: 0 / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.624e-06/0.2353, allocations: 0 / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2353, allocations: 0 / 0.9819 GB, free: 24.56 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.0007281/0.2361, allocations: 478.5 kB / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.2361, allocations: 11.97 kB / 0.9824 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.2363, allocations: 103 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.2365, allocations: 286.1 kB / 0.9827 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.622e-05/0.2366, allocations: 158.5 kB / 0.9829 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.732e-05/0.2366, allocations: 154.6 kB / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.099e-05/0.2367, allocations: 105 kB / 0.9831 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.87e-05/0.2367, allocations: 79.28 kB / 0.9832 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.2368, allocations: 154.5 kB / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.879e-05/0.2368, allocations: 150.6 kB / 0.9835 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.135e-05/0.2368, allocations: 154.5 kB / 0.9836 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003192/0.2372, allocations: 0.5132 MB / 0.9841 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.335e-05/0.2372, allocations: 169.2 kB / 0.9843 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.2373, allocations: 83.25 kB / 0.9844 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.2373, allocations: 105.8 kB / 0.9845 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/0.2373, allocations: 0 / 0.9845 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0002028/0.2375, allocations: 57.45 kB / 0.9845 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.2376, allocations: 126.7 kB / 0.9847 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/0.238, allocations: 314.3 kB / 0.985 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.238, allocations: 25.7 kB / 0.985 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/0.2381, allocations: 112.5 kB / 0.9851 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-06/0.2381, allocations: 0 / 0.9851 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-06/0.2381, allocations: 0 / 0.9851 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.653e-05/0.2382, allocations: 334.8 kB / 0.9854 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.2383, allocations: 71.94 kB / 0.9855 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.2385, allocations: 114 kB / 0.9856 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.2387, allocations: 83.89 kB / 0.9857 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.2387, allocations: 7.953 kB / 0.9857 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005133/0.2392, allocations: 225.3 kB / 0.9859 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2393, allocations: 12.06 kB / 0.9859 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2393, allocations: 0 / 0.9859 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.2393, allocations: 4 kB / 0.9859 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.965e-06/0.2393, allocations: 4 kB / 0.9859 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.619e-06/0.2393, allocations: 7.938 kB / 0.9859 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.2395, allocations: 19.69 kB / 0.9859 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.2395, allocations: 7.984 kB / 0.9859 GB, free: 20.16 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.0001694/0.2397, allocations: 230.9 kB / 0.9862 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/0.2398, allocations: 128.6 kB / 0.9863 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.689e-05/0.2398, allocations: 117.8 kB / 0.9864 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.252e-05/0.2399, allocations: 176.3 kB / 0.9866 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.584e-05/0.2399, allocations: 184.2 kB / 0.9867 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.268e-05/0.24, allocations: 180.2 kB / 0.9869 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.2402, allocations: 449.2 kB / 0.9873 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.148e-05/0.2402, allocations: 104.9 kB / 0.9874 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.252e-05/0.2403, allocations: 108.9 kB / 0.9875 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.481e-05/0.2403, allocations: 188.2 kB / 0.9877 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/0.2404, allocations: 180.4 kB / 0.9879 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.181e-05/0.2404, allocations: 176.4 kB / 0.9881 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.774e-05/0.2405, allocations: 200.2 kB / 0.9883 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.852e-05/0.2406, allocations: 319.6 kB / 0.9886 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/0.2407, allocations: 189.9 kB / 0.9887 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.362e-05/0.2407, allocations: 184.2 kB / 0.9889 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.2409, allocations: 112.9 kB / 0.989 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.241, allocations: 176.3 kB / 0.9892 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.241, allocations: 104.9 kB / 0.9893 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002479/0.2412, allocations: 213.9 kB / 0.9895 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2413, allocations: 0 / 0.9895 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004733/0.2417, allocations: 63.98 kB / 0.9896 GB, free: 16.24 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.0003512/0.2421, allocations: 271.1 kB / 0.9898 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002276/0.2423, allocations: 99.89 kB / 0.9899 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2424, allocations: 0 / 0.9899 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.226e-06/0.2424, allocations: 448 / 0.9899 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.2427, allocations: 0.5269 MB / 0.9904 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005782/0.2433, allocations: 420.5 kB / 0.9908 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.2435, allocations: 0.7511 MB / 0.9916 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.606e-05/0.2435, allocations: 0 / 0.9916 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.124e-05/0.2435, allocations: 11.44 kB / 0.9916 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of SimCode: time 6.51e-07/0.2436, allocations: 0 / 0.9916 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of Templates: time 0.00704/0.2506, allocations: 2.185 MB / 0.9937 GB, free: 11.93 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)