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.976/1.976, allocations: 288.3 MB / 303.2 MB, free: 8.188 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.001299/0.0013, allocations: 181.1 kB / 371.9 MB, free: 10.29 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.769/1.769, allocations: 205.4 MB / 0.6306 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.001025/0.001025, allocations: 114.8 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003941/0.0003942, allocations: 11.06 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.244, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001578/0.2456, allocations: 1.088 MB / 0.9805 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.2472, allocations: 1.626 MB / 0.9821 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.245e-05/0.2473, allocations: 0 / 0.9821 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007853/0.2481, allocations: 369.2 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.399e-05/0.2481, allocations: 15.97 kB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.367e-06/0.2481, allocations: 0 / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.2483, allocations: 111.7 kB / 0.9825 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.233e-05/0.2484, allocations: 17.5 kB / 0.9826 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.034e-05/0.2484, allocations: 35.86 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.454e-05/0.2485, allocations: 51.8 kB / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.2486, allocations: 4 kB / 0.9827 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003797/0.2489, allocations: 239.9 kB / 0.9829 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.285e-05/0.249, allocations: 23.92 kB / 0.9829 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/0.249, allocations: 49.64 kB / 0.983 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.2493, allocations: 175.8 kB / 0.9831 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2493, allocations: 0 / 0.9831 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2493, allocations: 3.938 kB / 0.9831 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2493, allocations: 0 / 0.9831 GB, free: 23.88 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.0005832/0.2499, allocations: 478.5 kB / 0.9836 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.2499, allocations: 16 kB / 0.9836 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.2501, allocations: 99 kB / 0.9837 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.2502, allocations: 286.1 kB / 0.984 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.2503, allocations: 158.5 kB / 0.9841 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.2503, allocations: 150.6 kB / 0.9843 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.193e-05/0.2504, allocations: 109 kB / 0.9844 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.2504, allocations: 79.28 kB / 0.9844 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.2504, allocations: 150.6 kB / 0.9846 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.2505, allocations: 150.6 kB / 0.9847 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.217e-05/0.2505, allocations: 150.6 kB / 0.9849 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002373/0.2507, allocations: 0.521 MB / 0.9854 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.463e-05/0.2508, allocations: 169.1 kB / 0.9855 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.2508, allocations: 75.28 kB / 0.9856 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.2508, allocations: 105.8 kB / 0.9857 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.2508, allocations: 3.938 kB / 0.9857 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001505/0.251, allocations: 53.45 kB / 0.9858 GB, free: 21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.251, allocations: 130.7 kB / 0.9859 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.2513, allocations: 314.3 kB / 0.9862 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.2513, allocations: 25.7 kB / 0.9862 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.2514, allocations: 120.4 kB / 0.9863 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.2514, allocations: 0 / 0.9863 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/0.2514, allocations: 0 / 0.9863 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.212e-05/0.2514, allocations: 330.8 kB / 0.9866 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.41e-05/0.2515, allocations: 67.95 kB / 0.9867 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.888e-05/0.2516, allocations: 114 kB / 0.9868 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.879e-05/0.2517, allocations: 79.89 kB / 0.9869 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2517, allocations: 4 kB / 0.9869 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003187/0.252, allocations: 233.1 kB / 0.9871 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.252, allocations: 8.219 kB / 0.9871 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.252, allocations: 4 kB / 0.9871 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.2521, allocations: 4 kB / 0.9871 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.502e-06/0.2521, allocations: 3.938 kB / 0.9871 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.2521, allocations: 11.92 kB / 0.9871 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.2522, allocations: 19.69 kB / 0.9872 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.2522, allocations: 4 kB / 0.9872 GB, free: 19.48 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.0001486/0.2524, allocations: 229 kB / 0.9874 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.2524, allocations: 124.7 kB / 0.9875 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.2524, allocations: 121.6 kB / 0.9876 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.411e-05/0.2525, allocations: 176.3 kB / 0.9878 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.841e-05/0.2525, allocations: 192.2 kB / 0.988 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.618e-05/0.2525, allocations: 176.3 kB / 0.9881 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.2527, allocations: 453.2 kB / 0.9886 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/0.2527, allocations: 104.9 kB / 0.9887 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.537e-05/0.2528, allocations: 101 kB / 0.9888 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.819e-05/0.2528, allocations: 188.2 kB / 0.989 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.2528, allocations: 180.5 kB / 0.9891 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-05/0.2529, allocations: 176.3 kB / 0.9893 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.37e-05/0.2529, allocations: 196.2 kB / 0.9895 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.022e-05/0.253, allocations: 319.6 kB / 0.9898 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.253, allocations: 193.9 kB / 0.99 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/0.2531, allocations: 180.2 kB / 0.9901 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.393e-05/0.2532, allocations: 112.9 kB / 0.9902 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.2532, allocations: 176.3 kB / 0.9904 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.2532, allocations: 104.9 kB / 0.9905 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001392/0.2534, allocations: 213.9 kB / 0.9907 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2534, allocations: 0 / 0.9907 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003111/0.2537, allocations: 67.94 kB / 0.9908 GB, free: 15.56 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.0002453/0.254, allocations: 270.4 kB / 0.991 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001427/0.2541, allocations: 99.89 kB / 0.9911 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2541, allocations: 4 kB / 0.9911 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-06/0.2541, allocations: 448 / 0.9911 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.2543, allocations: 0.5237 MB / 0.9917 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003818/0.2547, allocations: 417.9 kB / 0.9921 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/0.2549, allocations: 0.7512 MB / 0.9928 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.695e-05/0.2549, allocations: 0 / 0.9928 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.591e-05/0.2549, allocations: 11.44 kB / 0.9928 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2549, allocations: 0 / 0.9928 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of Templates: time 0.004425/0.2594, allocations: 2.189 MB / 0.9949 GB, free: 11.26 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)