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.001127/0.001127, allocations: 105 kB / 16.36 MB, free: 6.426 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.001101/0.001101, allocations: 195.5 kB / 17.3 MB, free: 5.801 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.45/1.45, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.791/1.791, allocations: 292.3 MB / 0.5496 GB, free: 17.41 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.001475/0.001476, allocations: 71.89 kB / 0.6729 GB, free: 5.898 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2875, allocations: 114.5 MB / 0.7848 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.004024/0.2916, allocations: 1.408 MB / 0.7862 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4912/0.7828, allocations: 2.661 MB / 0.7888 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.634e-05/0.7829, allocations: 2.844 kB / 0.7888 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001794/0.7848, allocations: 0.5809 MB / 0.7893 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.038e-05/0.7848, allocations: 20.69 kB / 0.7893 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 5.591e-06/0.7849, allocations: 0 / 0.7893 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002474/0.7851, allocations: 158.6 kB / 0.7895 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.063e-05/0.7852, allocations: 37.06 kB / 0.7895 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.683e-05/0.7853, allocations: 58.16 kB / 0.7896 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.7854, allocations: 85.97 kB / 0.7897 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.7855, allocations: 2.594 kB / 0.7897 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.7865, allocations: 471.3 kB / 0.7901 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.061e-05/0.7866, allocations: 36.69 kB / 0.7902 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.7867, allocations: 102.8 kB / 0.7903 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006147/0.7873, allocations: 440.1 kB / 0.7907 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.7874, allocations: 1.906 kB / 0.7907 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.374e-06/0.7874, allocations: 0 / 0.7907 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.7874, allocations: 0 / 0.7907 GB, free: 46.27 MB / 0.6544 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.0007492/0.7881, allocations: 0.5484 MB / 0.7912 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.7882, allocations: 11.11 kB / 0.7912 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.7883, allocations: 105 kB / 0.7913 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.7886, allocations: 298.3 kB / 0.7916 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.028e-05/0.7886, allocations: 156.7 kB / 0.7918 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.7886, allocations: 154.1 kB / 0.7919 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.734e-05/0.7887, allocations: 104.8 kB / 0.792 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.7887, allocations: 79.52 kB / 0.7921 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.7888, allocations: 157.7 kB / 0.7922 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/0.7888, allocations: 151.1 kB / 0.7924 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.932e-05/0.7888, allocations: 155.1 kB / 0.7925 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002958/0.7891, allocations: 0.5336 MB / 0.793 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.279e-05/0.7892, allocations: 166.4 kB / 0.7932 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.554e-05/0.7892, allocations: 83.77 kB / 0.7933 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.7893, allocations: 78.12 kB / 0.7934 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.7893, allocations: 109.9 kB / 0.7935 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.7893, allocations: 0 / 0.7935 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001718/0.7895, allocations: 61.48 kB / 0.7935 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.7895, allocations: 128.9 kB / 0.7936 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003977/0.7899, allocations: 435.5 kB / 0.7941 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.79, allocations: 26.48 kB / 0.7941 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.188e-05/0.79, allocations: 137.8 kB / 0.7942 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-06/0.7901, allocations: 0 / 0.7942 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.967e-05/0.7901, allocations: 88.16 kB / 0.7943 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.473e-05/0.7902, allocations: 343.1 kB / 0.7946 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.7903, allocations: 96.73 kB / 0.7947 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.7905, allocations: 167.8 kB / 0.7949 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/0.7908, allocations: 301.8 kB / 0.7952 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7908, allocations: 3.469 kB / 0.7952 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005029/0.7913, allocations: 332.6 kB / 0.7955 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.7914, allocations: 3.406 kB / 0.7955 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.7914, allocations: 7.406 kB / 0.7955 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.7914, allocations: 6.875 kB / 0.7955 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.968e-06/0.7914, allocations: 4.047 kB / 0.7955 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.7914, allocations: 6.406 kB / 0.7955 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.7916, allocations: 38.31 kB / 0.7955 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.7916, allocations: 6.75 kB / 0.7956 GB, free: 42.63 MB / 0.6544 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.0002884/0.7919, allocations: 240.8 kB / 0.7958 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.553e-05/0.792, allocations: 130.1 kB / 0.7959 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.083e-05/0.792, allocations: 122 kB / 0.796 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.449e-05/0.7921, allocations: 181.4 kB / 0.7962 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.112e-05/0.7922, allocations: 185 kB / 0.7964 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.173e-05/0.7922, allocations: 177.1 kB / 0.7965 GB, free: 41.66 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.7925, allocations: 482.4 kB / 0.797 GB, free: 41.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-05/0.7926, allocations: 112.3 kB / 0.7971 GB, free: 41.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.782e-05/0.7926, allocations: 103 kB / 0.7972 GB, free: 41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.342e-05/0.7926, allocations: 177.5 kB / 0.7974 GB, free: 40.82 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.832e-05/0.7927, allocations: 186.6 kB / 0.7976 GB, free: 40.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.35e-05/0.7927, allocations: 182 kB / 0.7977 GB, free: 40.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.266e-05/0.7928, allocations: 186.5 kB / 0.7979 GB, free: 40.28 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.7929, allocations: 320 kB / 0.7982 GB, free: 39.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.212e-05/0.793, allocations: 204 kB / 0.7984 GB, free: 39.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.158e-05/0.7931, allocations: 186.8 kB / 0.7986 GB, free: 39.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.7932, allocations: 107.5 kB / 0.7987 GB, free: 39.45 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.7932, allocations: 182.5 kB / 0.7989 GB, free: 39.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.7932, allocations: 107.1 kB / 0.799 GB, free: 39.16 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002477/0.7935, allocations: 278 kB / 0.7992 GB, free: 39.07 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7935, allocations: 0 / 0.7992 GB, free: 39.07 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004665/0.794, allocations: 87.58 kB / 0.7993 GB, free: 39.07 MB / 0.6544 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.0004199/0.7944, allocations: 307.7 kB / 0.7996 GB, free: 38.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.7947, allocations: 164.9 kB / 0.7998 GB, free: 38.89 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7947, allocations: 4.406 kB / 0.7998 GB, free: 38.89 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.335e-06/0.7947, allocations: 1.781 kB / 0.7998 GB, free: 38.89 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.795, allocations: 465.5 kB / 0.8002 GB, free: 38.44 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006124/0.7957, allocations: 0.4902 MB / 0.8007 GB, free: 38.16 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.7959, allocations: 0.775 MB / 0.8014 GB, free: 37.46 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.442e-05/0.7959, allocations: 5.312 kB / 0.8015 GB, free: 37.46 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.796, allocations: 10.91 kB / 0.8015 GB, free: 37.46 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.796, allocations: 0 / 0.8015 GB, free: 37.46 MB / 0.6544 GB Notification: Performance of Templates: time 0.007747/0.8037, allocations: 3.063 MB / 0.8045 GB, free: 37.22 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)