Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.727/2.727, allocations: 287.3 MB / 302.3 MB, free: 8.312 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.001761/0.001761, allocations: 179.1 kB / 370.8 MB, free: 10.87 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.196/2.196, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001187/0.001187, allocations: 91.84 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005087/0.0005088, allocations: 15.62 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2314, allocations: 115.3 MB / 0.9782 GB, free: 28.42 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001687/0.2331, allocations: 1.111 MB / 0.9793 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003514/0.2367, allocations: 2.258 MB / 0.9815 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.948e-05/0.2368, allocations: 0 / 0.9815 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002126/0.2389, allocations: 0.554 MB / 0.982 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.346e-05/0.239, allocations: 15.97 kB / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.827e-06/0.239, allocations: 0 / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.2393, allocations: 127.7 kB / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.026e-05/0.2394, allocations: 32.41 kB / 0.9822 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.028e-05/0.2394, allocations: 51.78 kB / 0.9822 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.2396, allocations: 67.67 kB / 0.9823 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.2396, allocations: 11.94 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.2409, allocations: 447.6 kB / 0.9827 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.969e-05/0.241, allocations: 31.84 kB / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.671e-05/0.2411, allocations: 65.58 kB / 0.9828 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005918/0.2417, allocations: 271.7 kB / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2417, allocations: 0 / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2417, allocations: 0 / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2417, allocations: 0 / 0.9831 GB, free: 23.38 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.0008283/0.2426, allocations: 0.5488 MB / 0.9836 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.2426, allocations: 8.031 kB / 0.9836 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.2428, allocations: 99 kB / 0.9837 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.2431, allocations: 309 kB / 0.984 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.2431, allocations: 150.6 kB / 0.9842 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.2432, allocations: 158.6 kB / 0.9843 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.122e-05/0.2432, allocations: 101 kB / 0.9844 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.2433, allocations: 83.22 kB / 0.9845 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.2433, allocations: 150.6 kB / 0.9846 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/0.2433, allocations: 150.6 kB / 0.9848 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.003e-05/0.2434, allocations: 154.6 kB / 0.9849 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.2438, allocations: 0.5366 MB / 0.9855 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.328e-05/0.2438, allocations: 169.1 kB / 0.9856 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.2439, allocations: 83.16 kB / 0.9857 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.2439, allocations: 113.8 kB / 0.9858 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.643e-06/0.2439, allocations: 0 / 0.9858 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0002075/0.2441, allocations: 53.41 kB / 0.9859 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.2442, allocations: 126.7 kB / 0.986 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005042/0.2447, allocations: 429.2 kB / 0.9864 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.2447, allocations: 29.7 kB / 0.9864 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.9e-05/0.2448, allocations: 128.5 kB / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-06/0.2448, allocations: 0 / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-06/0.2448, allocations: 4 kB / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.76e-05/0.2449, allocations: 346.8 kB / 0.9869 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.2451, allocations: 96.5 kB / 0.987 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.2453, allocations: 165.3 kB / 0.9871 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.2455, allocations: 123.8 kB / 0.9872 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.2455, allocations: 7.953 kB / 0.9872 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006355/0.2462, allocations: 321 kB / 0.9875 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.2462, allocations: 4 kB / 0.9876 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.2462, allocations: 0 / 0.9876 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.2462, allocations: 4 kB / 0.9876 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.07e-06/0.2462, allocations: 11.92 kB / 0.9876 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.2463, allocations: 3.938 kB / 0.9876 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.2465, allocations: 43.28 kB / 0.9876 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.2465, allocations: 4 kB / 0.9876 GB, free: 18.49 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.0002207/0.2468, allocations: 248 kB / 0.9879 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.803e-05/0.2468, allocations: 128.6 kB / 0.988 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.194e-05/0.2469, allocations: 119 kB / 0.9881 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-05/0.2469, allocations: 176.3 kB / 0.9883 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.353e-05/0.247, allocations: 180.2 kB / 0.9884 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.241e-05/0.247, allocations: 180.3 kB / 0.9886 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.2473, allocations: 477.1 kB / 0.9891 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/0.2473, allocations: 105 kB / 0.9892 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.162e-05/0.2474, allocations: 108.9 kB / 0.9893 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.25e-05/0.2474, allocations: 184.2 kB / 0.9894 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.285e-05/0.2474, allocations: 176.3 kB / 0.9896 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.296e-05/0.2475, allocations: 192.2 kB / 0.9898 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.361e-05/0.2476, allocations: 176.3 kB / 0.99 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.2477, allocations: 323.4 kB / 0.9903 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.285e-05/0.2478, allocations: 201.8 kB / 0.9905 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.142e-05/0.2479, allocations: 192.1 kB / 0.9906 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.2481, allocations: 105 kB / 0.9907 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.2481, allocations: 180.2 kB / 0.9909 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.2481, allocations: 101 kB / 0.991 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003527/0.2485, allocations: 279.1 kB / 0.9913 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2485, allocations: 0 / 0.9913 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005512/0.2491, allocations: 88 kB / 0.9914 GB, free: 14.43 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.0004328/0.2495, allocations: 327.5 kB / 0.9917 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003028/0.2498, allocations: 159.9 kB / 0.9918 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2498, allocations: 0 / 0.9918 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.997e-06/0.2499, allocations: 3.938 kB / 0.9918 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.2501, allocations: 0.5282 MB / 0.9923 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007367/0.2509, allocations: 0.5243 MB / 0.9929 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.2511, allocations: 0.7823 MB / 0.9936 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.76e-05/0.2512, allocations: 4 kB / 0.9936 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.2512, allocations: 7.438 kB / 0.9936 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of SimCode: time 9.91e-07/0.2512, allocations: 0 / 0.9936 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of Templates: time 0.009197/0.2604, allocations: 3.06 MB / 0.9966 GB, free: 8.98 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)