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.000871/0.0008709, allocations: 100.2 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.0009932/0.000993, allocations: 177.3 kB / 15.95 MB, free: 216 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.486/1.486, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.671/1.671, 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.0005708/0.0005709, allocations: 13.09 kB / 0.6735 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2677, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001688/0.2694, allocations: 1.112 MB / 0.7882 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002762/0.2722, allocations: 2.253 MB / 0.7904 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.623e-05/0.2722, allocations: 0 / 0.7904 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001434/0.2737, allocations: 0.541 MB / 0.7909 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.977e-05/0.2737, allocations: 15.97 kB / 0.7909 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 2.765e-06/0.2737, allocations: 4 kB / 0.791 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.2739, allocations: 135.7 kB / 0.7911 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.152e-05/0.274, allocations: 28.41 kB / 0.7911 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.668e-05/0.2741, allocations: 47.75 kB / 0.7912 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.2742, allocations: 83.58 kB / 0.7912 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.2742, allocations: 0 / 0.7912 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008397/0.2751, allocations: 443.6 kB / 0.7917 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.993e-05/0.2751, allocations: 35.83 kB / 0.7917 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.541e-05/0.2752, allocations: 61.58 kB / 0.7917 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004374/0.2757, allocations: 279.6 kB / 0.792 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.2757, allocations: 4 kB / 0.792 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.436e-06/0.2757, allocations: 4 kB / 0.792 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.2757, allocations: 3.938 kB / 0.792 GB, free: 6.918 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.0007618/0.2765, allocations: 0.5294 MB / 0.7925 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.2765, allocations: 12.03 kB / 0.7926 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.2767, allocations: 98.94 kB / 0.7926 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.2769, allocations: 305 kB / 0.7929 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.543e-05/0.277, allocations: 166.5 kB / 0.7931 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.379e-05/0.2771, allocations: 150.6 kB / 0.7932 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.621e-05/0.2772, allocations: 101 kB / 0.7933 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.2772, allocations: 75.28 kB / 0.7934 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.258e-05/0.2773, allocations: 150.6 kB / 0.7936 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.974e-05/0.2773, allocations: 154.6 kB / 0.7937 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.671e-05/0.2774, allocations: 158.5 kB / 0.7939 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.2778, allocations: 0.5327 MB / 0.7944 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.2779, allocations: 169.2 kB / 0.7945 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.278, allocations: 79.28 kB / 0.7946 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/0.278, allocations: 113.8 kB / 0.7947 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/0.278, allocations: 0 / 0.7947 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001772/0.2782, allocations: 61.34 kB / 0.7948 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.772e-05/0.2783, allocations: 126.7 kB / 0.7949 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004239/0.2787, allocations: 425.2 kB / 0.7953 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.2787, allocations: 25.7 kB / 0.7953 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.193e-05/0.2788, allocations: 132.5 kB / 0.7955 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.379e-06/0.2788, allocations: 7.984 kB / 0.7955 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-06/0.2789, allocations: 0 / 0.7955 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.279, allocations: 338.8 kB / 0.7958 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.2791, allocations: 100.5 kB / 0.7959 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.2792, allocations: 161.3 kB / 0.796 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.2794, allocations: 131.8 kB / 0.7962 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2794, allocations: 0 / 0.7962 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004512/0.2799, allocations: 324.9 kB / 0.7965 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.2799, allocations: 4 kB / 0.7965 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.2799, allocations: 4 kB / 0.7965 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.2799, allocations: 3.938 kB / 0.7965 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.695e-06/0.2799, allocations: 4 kB / 0.7965 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2799, allocations: 3.938 kB / 0.7965 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.2801, allocations: 55.27 kB / 0.7965 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.2801, allocations: 4.219 kB / 0.7965 GB, free: 2.039 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.0002133/0.2803, allocations: 244.2 kB / 0.7968 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.26e-05/0.2804, allocations: 124.7 kB / 0.7969 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.693e-05/0.2804, allocations: 114.9 kB / 0.797 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.959e-05/0.2805, allocations: 180.2 kB / 0.7972 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.476e-05/0.2806, allocations: 188.2 kB / 0.7974 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-05/0.2806, allocations: 184.3 kB / 0.7975 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.2809, allocations: 469.2 kB / 0.798 GB, free: 476 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-05/0.2809, allocations: 104.9 kB / 0.7981 GB, free: 364 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.519e-05/0.281, allocations: 105 kB / 0.7982 GB, free: 252 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.849e-05/0.281, allocations: 188.1 kB / 0.7984 GB, free: 56 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-05/0.2811, allocations: 184.3 kB / 0.7985 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.952e-05/0.2812, allocations: 176.3 kB / 0.7987 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.319e-05/0.2812, allocations: 180.2 kB / 0.7989 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.2814, allocations: 339.4 kB / 0.7992 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.05e-05/0.2815, allocations: 197.8 kB / 0.7994 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.663e-05/0.2816, allocations: 184.2 kB / 0.7996 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.2817, allocations: 109.2 kB / 0.7997 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.2818, allocations: 180.3 kB / 0.7998 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-05/0.2818, allocations: 109 kB / 0.7999 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002305/0.282, allocations: 271.1 kB / 0.8002 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2821, allocations: 0 / 0.8002 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000371/0.2824, allocations: 91.98 kB / 0.8003 GB, free: 13.98 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.0003587/0.2828, allocations: 316.5 kB / 0.8006 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002044/0.283, allocations: 163.9 kB / 0.8007 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.283, allocations: 4 kB / 0.8008 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 2.574e-06/0.283, allocations: 0 / 0.8008 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.2833, allocations: 0.5344 MB / 0.8013 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005883/0.2839, allocations: 0.5167 MB / 0.8018 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.2842, allocations: 0.7823 MB / 0.8025 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.446e-05/0.2843, allocations: 7.984 kB / 0.8026 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.59e-05/0.2843, allocations: 11.44 kB / 0.8026 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of SimCode: time 2.9e-07/0.2843, allocations: 0 / 0.8026 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of Templates: time 0.006362/0.2906, allocations: 3.045 MB / 0.8055 GB, free: 8.547 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: