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.756/1.756, allocations: 288.4 MB / 303.4 MB, free: 8.059 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.00107/0.00107, allocations: 172.5 kB / 372 MB, free: 10.27 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.68/1.68, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0008504/0.0008506, allocations: 90.31 kB / 0.7441 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000436/0.0004361, allocations: 10.72 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2322, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001825/0.2341, allocations: 1.111 MB / 0.9807 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001955/0.2361, allocations: 1.761 MB / 0.9824 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.144e-05/0.2362, allocations: 0 / 0.9824 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.2374, allocations: 344.3 kB / 0.9827 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.01e-05/0.2375, allocations: 15.91 kB / 0.9827 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.797e-06/0.2375, allocations: 0 / 0.9827 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.2377, allocations: 131.2 kB / 0.9828 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.666e-05/0.2378, allocations: 21.48 kB / 0.9829 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.454e-05/0.2378, allocations: 39.81 kB / 0.9829 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.238, allocations: 63.77 kB / 0.983 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.238, allocations: 8 kB / 0.983 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005447/0.2386, allocations: 171.9 kB / 0.9831 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.181e-05/0.2386, allocations: 35.83 kB / 0.9832 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.033e-05/0.2387, allocations: 53.64 kB / 0.9832 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.2389, allocations: 211.5 kB / 0.9834 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.239, allocations: 0 / 0.9834 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.643e-06/0.239, allocations: 0 / 0.9834 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.239, allocations: 0 / 0.9834 GB, free: 23.71 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.0006311/0.2396, allocations: 478.5 kB / 0.9839 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.2397, allocations: 15.95 kB / 0.9839 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.2398, allocations: 99 kB / 0.984 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.24, allocations: 282.1 kB / 0.9843 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.666e-05/0.2401, allocations: 158.6 kB / 0.9844 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.2401, allocations: 150.6 kB / 0.9846 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.748e-05/0.2402, allocations: 105 kB / 0.9847 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.2402, allocations: 79.28 kB / 0.9847 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.2402, allocations: 150.6 kB / 0.9849 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.2403, allocations: 150.6 kB / 0.985 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.86e-05/0.2403, allocations: 158.4 kB / 0.9852 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002664/0.2406, allocations: 0.5171 MB / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.328e-05/0.2406, allocations: 169.1 kB / 0.9858 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.908e-05/0.2407, allocations: 80.14 kB / 0.9859 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.2407, allocations: 75.28 kB / 0.986 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.2407, allocations: 113.8 kB / 0.9861 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 2.204e-06/0.2407, allocations: 7.922 kB / 0.9861 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001604/0.2409, allocations: 49.44 kB / 0.9861 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.2409, allocations: 126.7 kB / 0.9863 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.2412, allocations: 318.3 kB / 0.9866 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.2412, allocations: 25.7 kB / 0.9866 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.244e-05/0.2413, allocations: 112.5 kB / 0.9867 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.2413, allocations: 0 / 0.9867 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.2413, allocations: 4 kB / 0.9867 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.679e-05/0.2414, allocations: 334.8 kB / 0.987 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.242e-05/0.2415, allocations: 63.95 kB / 0.9871 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-05/0.2415, allocations: 117.9 kB / 0.9872 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.444e-05/0.2416, allocations: 79.97 kB / 0.9873 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2416, allocations: 4 kB / 0.9873 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003336/0.242, allocations: 233.1 kB / 0.9875 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.242, allocations: 8 kB / 0.9875 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.242, allocations: 0 / 0.9875 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.242, allocations: 4 kB / 0.9875 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.904e-06/0.2421, allocations: 3.938 kB / 0.9875 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.2421, allocations: 4 kB / 0.9875 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.2422, allocations: 19.69 kB / 0.9875 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.2422, allocations: 8 kB / 0.9875 GB, free: 19.23 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.0001588/0.2424, allocations: 233.2 kB / 0.9878 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/0.2424, allocations: 124.6 kB / 0.9879 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.176e-05/0.2425, allocations: 117.6 kB / 0.988 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.964e-05/0.2425, allocations: 184.3 kB / 0.9882 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.723e-05/0.2425, allocations: 180.2 kB / 0.9884 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-05/0.2426, allocations: 184.3 kB / 0.9885 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.2427, allocations: 453.1 kB / 0.989 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.849e-05/0.2428, allocations: 101 kB / 0.9891 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.123e-05/0.2428, allocations: 109 kB / 0.9892 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.848e-05/0.2428, allocations: 188.1 kB / 0.9893 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.38e-05/0.2429, allocations: 176.3 kB / 0.9895 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-05/0.2429, allocations: 184.2 kB / 0.9897 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.43e-05/0.243, allocations: 180.3 kB / 0.9899 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.2431, allocations: 319.8 kB / 0.9902 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/0.2431, allocations: 189.9 kB / 0.9903 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.048e-05/0.2432, allocations: 200.1 kB / 0.9905 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.2433, allocations: 113 kB / 0.9906 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.873e-05/0.2433, allocations: 180.2 kB / 0.9908 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.2434, allocations: 105 kB / 0.9909 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001462/0.2435, allocations: 213.9 kB / 0.9911 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2435, allocations: 0 / 0.9911 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00034/0.2439, allocations: 63.98 kB / 0.9912 GB, free: 15.3 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.0002792/0.2441, allocations: 266.5 kB / 0.9914 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001616/0.2443, allocations: 104.3 kB / 0.9915 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2443, allocations: 4.062 kB / 0.9915 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.2443, allocations: 0 / 0.9915 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.2446, allocations: 0.5268 MB / 0.992 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004064/0.245, allocations: 417.9 kB / 0.9924 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.2452, allocations: 0.7433 MB / 0.9932 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.388e-05/0.2453, allocations: 0 / 0.9932 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.746e-05/0.2453, allocations: 11.44 kB / 0.9932 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.2453, allocations: 0 / 0.9932 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of Templates: time 0.004631/0.2499, allocations: 2.19 MB / 0.9953 GB, free: 11 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)