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.001142/0.001141, allocations: 107.7 kB / 15.99 MB, free: 6.352 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.001024/0.001025, allocations: 185.2 kB / 16.9 MB, free: 6.188 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.598/1.598, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.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.687/1.687, allocations: 292.3 MB / 0.5492 GB, free: 13.64 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.001362/0.001362, allocations: 70.42 kB / 0.6716 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2879, allocations: 114.6 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003186/0.2911, allocations: 1.478 MB / 0.785 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003422/0.2946, allocations: 2.632 MB / 0.7875 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.076e-05/0.2947, allocations: 0 / 0.7875 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001835/0.2966, allocations: 0.5638 MB / 0.7881 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.887e-05/0.2966, allocations: 19.91 kB / 0.7881 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.3e-06/0.2966, allocations: 0 / 0.7881 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002998/0.2969, allocations: 151 kB / 0.7882 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.211e-05/0.297, allocations: 36.41 kB / 0.7883 GB, free: 9 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.522e-05/0.2971, allocations: 67.72 kB / 0.7883 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.2973, allocations: 83.47 kB / 0.7884 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.2973, allocations: 0 / 0.7884 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.2984, allocations: 499.2 kB / 0.7889 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.156e-05/0.2984, allocations: 31.84 kB / 0.7889 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.2986, allocations: 99.36 kB / 0.789 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003857/0.299, allocations: 298.9 kB / 0.7893 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.299, allocations: 3.938 kB / 0.7893 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.813e-06/0.299, allocations: 0 / 0.7893 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.299, allocations: 3.938 kB / 0.7893 GB, free: 7.934 MB / 0.6075 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.0008778/0.2999, allocations: 0.5412 MB / 0.7898 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.2999, allocations: 12.03 kB / 0.7898 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.3001, allocations: 103.8 kB / 0.7899 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.3004, allocations: 298.4 kB / 0.7902 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.374e-05/0.3005, allocations: 158.9 kB / 0.7904 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.774e-05/0.3006, allocations: 154.9 kB / 0.7905 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.3007, allocations: 101.5 kB / 0.7906 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.158e-05/0.3008, allocations: 75.47 kB / 0.7907 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.027e-05/0.3009, allocations: 158.5 kB / 0.7909 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.302e-05/0.3009, allocations: 154.6 kB / 0.791 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.5e-05/0.301, allocations: 150.6 kB / 0.7911 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.3015, allocations: 0.5366 MB / 0.7917 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.3016, allocations: 169.1 kB / 0.7918 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.627e-05/0.3017, allocations: 84.14 kB / 0.7919 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.18e-05/0.3017, allocations: 75.28 kB / 0.792 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.536e-05/0.3018, allocations: 109.8 kB / 0.7921 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.3018, allocations: 0 / 0.7921 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001963/0.302, allocations: 65.19 kB / 0.7921 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.302, allocations: 130.7 kB / 0.7923 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004512/0.3025, allocations: 437.3 kB / 0.7927 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.3025, allocations: 25.7 kB / 0.7927 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.3027, allocations: 132.5 kB / 0.7928 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.08e-06/0.3027, allocations: 0 / 0.7928 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.281e-05/0.3028, allocations: 93.59 kB / 0.7929 GB, free: 4 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.3029, allocations: 338.8 kB / 0.7933 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.3031, allocations: 100.5 kB / 0.7933 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.3033, allocations: 165.3 kB / 0.7935 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003108/0.3036, allocations: 301.6 kB / 0.7938 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3036, allocations: 4 kB / 0.7938 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005161/0.3041, allocations: 328.9 kB / 0.7941 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.3041, allocations: 12.16 kB / 0.7941 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.3041, allocations: 7.938 kB / 0.7941 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3042, allocations: 4 kB / 0.7941 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.442e-06/0.3042, allocations: 0 / 0.7941 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.3042, allocations: 4 kB / 0.7941 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.3043, allocations: 39.38 kB / 0.7942 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.3044, allocations: 7.984 kB / 0.7942 GB, free: 2.66 MB / 0.6075 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.0003011/0.3047, allocations: 247.4 kB / 0.7944 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.662e-05/0.3048, allocations: 132.5 kB / 0.7945 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.197e-05/0.3048, allocations: 114.9 kB / 0.7947 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.313e-05/0.3049, allocations: 188.2 kB / 0.7948 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.235e-05/0.305, allocations: 180.3 kB / 0.795 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-05/0.3051, allocations: 176.3 kB / 0.7952 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.3054, allocations: 481.1 kB / 0.7956 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.316e-05/0.3055, allocations: 101 kB / 0.7957 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.957e-05/0.3055, allocations: 108.9 kB / 0.7958 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.852e-05/0.3056, allocations: 176.3 kB / 0.796 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-05/0.3057, allocations: 188.2 kB / 0.7962 GB, free: 492 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.96e-05/0.3058, allocations: 180.2 kB / 0.7964 GB, free: 304 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.832e-05/0.3059, allocations: 184.3 kB / 0.7965 GB, free: 112 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.3061, allocations: 319.5 kB / 0.7968 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.3062, allocations: 201.8 kB / 0.797 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.3063, allocations: 184.1 kB / 0.7972 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.3064, allocations: 109.3 kB / 0.7973 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/0.3065, allocations: 184.2 kB / 0.7975 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.219e-05/0.3066, allocations: 105 kB / 0.7976 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002704/0.3068, allocations: 279.1 kB / 0.7978 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3069, allocations: 0 / 0.7978 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000415/0.3073, allocations: 80 kB / 0.7979 GB, free: 14.61 MB / 0.6231 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.0003712/0.3077, allocations: 312.6 kB / 0.7982 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002531/0.3079, allocations: 171.9 kB / 0.7984 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3079, allocations: 0 / 0.7984 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.3079, allocations: 0 / 0.7984 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.3083, allocations: 465.1 kB / 0.7988 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006924/0.309, allocations: 0.5631 MB / 0.7994 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.3094, allocations: 0.7782 MB / 0.8001 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.006e-05/0.3094, allocations: 7.438 kB / 0.8001 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.3094, allocations: 0 / 0.8001 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of Templates: time 0.005023/0.3145, allocations: 3.052 MB / 0.8031 GB, free: 9.207 MB / 0.6231 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)