Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001006, allocations: 100 kB / 15.05 MB, free: 1.105 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.000947/0.000947, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.655/1.655, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0006275/0.0006275, allocations: 17.91 kB / 0.6735 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2971, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.00159/0.2987, allocations: 1.101 MB / 0.7882 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00188/0.3006, allocations: 1.622 MB / 0.7898 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.075e-05/0.3007, allocations: 4 kB / 0.7898 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009169/0.3016, allocations: 370.1 kB / 0.7901 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.695e-05/0.3017, allocations: 15.95 kB / 0.7901 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.307e-06/0.3017, allocations: 4 kB / 0.7901 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.3019, allocations: 99.78 kB / 0.7902 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.752e-05/0.3019, allocations: 21.48 kB / 0.7903 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.637e-05/0.302, allocations: 43.78 kB / 0.7903 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.3021, allocations: 51.8 kB / 0.7904 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.3021, allocations: 4 kB / 0.7904 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004552/0.3026, allocations: 231.9 kB / 0.7906 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.546e-05/0.3026, allocations: 31.84 kB / 0.7906 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.454e-05/0.3027, allocations: 53.64 kB / 0.7907 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.3029, allocations: 163.9 kB / 0.7908 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.3029, allocations: 0 / 0.7908 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.779e-06/0.303, allocations: 0 / 0.7908 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.303, allocations: 7.875 kB / 0.7908 GB, free: 8.152 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.0006655/0.3036, allocations: 478.5 kB / 0.7913 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3037, allocations: 12.03 kB / 0.7913 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.3038, allocations: 95 kB / 0.7914 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.3041, allocations: 294.1 kB / 0.7917 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.767e-05/0.3041, allocations: 154.5 kB / 0.7918 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.892e-05/0.3042, allocations: 158.6 kB / 0.792 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.897e-05/0.3043, allocations: 101 kB / 0.7921 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.3043, allocations: 75.28 kB / 0.7921 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.533e-05/0.3044, allocations: 150.6 kB / 0.7923 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.577e-05/0.3044, allocations: 154.6 kB / 0.7924 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.624e-05/0.3045, allocations: 150.6 kB / 0.7926 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.3048, allocations: 0.5132 MB / 0.7931 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.76e-05/0.3049, allocations: 169.1 kB / 0.7932 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.3049, allocations: 79.28 kB / 0.7933 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/0.305, allocations: 117.8 kB / 0.7934 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.305, allocations: 0 / 0.7934 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001531/0.3051, allocations: 41.52 kB / 0.7935 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.3052, allocations: 138.5 kB / 0.7936 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.3055, allocations: 310.3 kB / 0.7939 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.3055, allocations: 29.7 kB / 0.7939 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.843e-05/0.3056, allocations: 120.4 kB / 0.794 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.3056, allocations: 0 / 0.794 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.3056, allocations: 0 / 0.794 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3058, allocations: 330.8 kB / 0.7943 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-05/0.3059, allocations: 63.95 kB / 0.7944 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.306, allocations: 122.4 kB / 0.7945 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.3061, allocations: 87.94 kB / 0.7946 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3061, allocations: 0 / 0.7946 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003917/0.3065, allocations: 233.1 kB / 0.7948 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3065, allocations: 8 kB / 0.7948 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3066, allocations: 0 / 0.7948 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3066, allocations: 4 kB / 0.7948 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.008e-06/0.3066, allocations: 3.984 kB / 0.7948 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.3066, allocations: 7.938 kB / 0.7948 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.3067, allocations: 27.91 kB / 0.7949 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.3067, allocations: 3.938 kB / 0.7949 GB, free: 3.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000197/0.3069, allocations: 229 kB / 0.7951 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.389e-05/0.307, allocations: 124.7 kB / 0.7952 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.632e-05/0.3071, allocations: 113.9 kB / 0.7953 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-05/0.3071, allocations: 192.3 kB / 0.7955 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.117e-05/0.3072, allocations: 176.3 kB / 0.7957 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.393e-05/0.3073, allocations: 180.2 kB / 0.7958 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.3075, allocations: 449.2 kB / 0.7963 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.882e-05/0.3076, allocations: 108.9 kB / 0.7964 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.635e-05/0.3077, allocations: 101 kB / 0.7965 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.406e-05/0.3077, allocations: 188.2 kB / 0.7967 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.902e-05/0.3078, allocations: 180.2 kB / 0.7968 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.212e-05/0.3079, allocations: 184.2 kB / 0.797 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-05/0.308, allocations: 180.2 kB / 0.7972 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.3081, allocations: 319.6 kB / 0.7975 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.3082, allocations: 193.9 kB / 0.7977 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.998e-05/0.3083, allocations: 188.2 kB / 0.7978 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.3085, allocations: 104.9 kB / 0.7979 GB, free: 408 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.3086, allocations: 176.3 kB / 0.7981 GB, free: 224 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.8e-05/0.3086, allocations: 112.9 kB / 0.7982 GB, free: 104 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002041/0.3088, allocations: 217.9 kB / 0.7984 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3089, allocations: 0 / 0.7984 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003687/0.3092, allocations: 56 kB / 0.7985 GB, free: 15.84 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 (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.0003683/0.3096, allocations: 274.7 kB / 0.7987 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001921/0.3098, allocations: 103.9 kB / 0.7988 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3098, allocations: 0 / 0.7988 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.3098, allocations: 0 / 0.7988 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.3103, allocations: 0.5219 MB / 0.7994 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005882/0.3109, allocations: 429.9 kB / 0.7998 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.3113, allocations: 0.7394 MB / 0.8005 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.95e-05/0.3113, allocations: 4 kB / 0.8005 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.991e-05/0.3113, allocations: 11.42 kB / 0.8005 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.3113, allocations: 0 / 0.8005 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of Templates: time 0.005572/0.3169, allocations: 2.19 MB / 0.8026 GB, free: 11.52 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) Environment - environmentSimulation: