Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.183/2.183, allocations: 391.2 MB / 407 MB, free: 10.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 193.5 kB / 499.1 MB, free: 4.629 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.641/1.641, allocations: 222.9 MB / 0.7948 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 117.9 kB / 0.9329 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.00102, allocations: 51.91 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.271, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002873/0.2739, allocations: 1.479 MB / 1.22 GB, free: 115.8 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002516/0.2765, allocations: 2.648 MB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.148e-05/0.2765, allocations: 0 / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.2778, allocations: 0.5501 MB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.257e-05/0.2779, allocations: 19.86 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 3.547e-06/0.2779, allocations: 0 / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.2781, allocations: 174.9 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 6.866e-05/0.2782, allocations: 36.34 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.496e-05/0.2783, allocations: 59.73 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.2784, allocations: 83.58 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.2784, allocations: 0 / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008926/0.2793, allocations: 487.3 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.038e-05/0.2794, allocations: 39.81 kB / 1.224 GB, free: 111.7 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 8.33e-05/0.2795, allocations: 95.38 kB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000506/0.28, allocations: 390.4 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.28, allocations: 4 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.002e-06/0.28, allocations: 4 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.28, allocations: 0 / 1.224 GB, free: 111.2 MB / 0.823 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.0007486/0.2808, allocations: 0.549 MB / 1.225 GB, free: 110.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.2808, allocations: 15.98 kB / 1.225 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.281, allocations: 99.84 kB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.2812, allocations: 302.3 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.2812, allocations: 158.9 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.2812, allocations: 154.9 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.42e-05/0.2813, allocations: 105.5 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.2813, allocations: 79.47 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.2814, allocations: 154.5 kB / 1.226 GB, free: 109.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/0.2814, allocations: 154.6 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.577e-05/0.2814, allocations: 154.6 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002688/0.2817, allocations: 0.5289 MB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.93e-05/0.2818, allocations: 173.1 kB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.355e-05/0.2818, allocations: 84.08 kB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.2818, allocations: 79.28 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.2819, allocations: 105.8 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.2819, allocations: 0 / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 0.0001721/0.282, allocations: 61.25 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.2821, allocations: 126.7 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/0.2824, allocations: 437.2 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.2825, allocations: 29.7 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.2825, allocations: 136.5 kB / 1.228 GB, free: 107.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-06/0.2825, allocations: 0 / 1.228 GB, free: 107.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-05/0.2826, allocations: 89.66 kB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.251e-05/0.2827, allocations: 338.8 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.045e-05/0.2828, allocations: 100.5 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.2829, allocations: 161.3 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.2832, allocations: 309.6 kB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2832, allocations: 4 kB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003946/0.2836, allocations: 328.9 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.2836, allocations: 8 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.2836, allocations: 3.938 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.2836, allocations: 4.219 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.713e-06/0.2837, allocations: 4 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.2837, allocations: 15.88 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.2838, allocations: 43.36 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.2838, allocations: 4 kB / 1.229 GB, free: 105.9 MB / 0.823 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.0002114/0.284, allocations: 241.7 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/0.2841, allocations: 116.7 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/0.2841, allocations: 126.8 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-05/0.2841, allocations: 184.2 kB / 1.23 GB, free: 105.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-05/0.2842, allocations: 184.1 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.447e-05/0.2842, allocations: 176.3 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.2844, allocations: 473.2 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-05/0.2844, allocations: 104.9 kB / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.738e-05/0.2844, allocations: 109 kB / 1.231 GB, free: 104.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.868e-05/0.2845, allocations: 180.2 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.2845, allocations: 184.2 kB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-05/0.2845, allocations: 180.3 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.237e-05/0.2846, allocations: 184.4 kB / 1.231 GB, free: 103.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.2848, allocations: 0.915 MB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.828e-05/0.2849, allocations: 209.6 kB / 1.232 GB, free: 102.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.666e-05/0.285, allocations: 180.3 kB / 1.232 GB, free: 102 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.2851, allocations: 101 kB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.2851, allocations: 188.2 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.2851, allocations: 109 kB / 1.233 GB, free: 101.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001802/0.2853, allocations: 271.1 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2853, allocations: 0 / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004491/0.2858, allocations: 79.98 kB / 1.233 GB, free: 101.2 MB / 0.823 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.0003011/0.2861, allocations: 294.4 kB / 1.233 GB, free: 100.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001771/0.2863, allocations: 176 kB / 1.234 GB, free: 100.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2863, allocations: 0 / 1.234 GB, free: 100.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.2863, allocations: 3.938 kB / 1.234 GB, free: 100.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.2866, allocations: 0.5277 MB / 1.234 GB, free: 100.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005416/0.2871, allocations: 0.5436 MB / 1.235 GB, free: 99.64 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.2873, allocations: 0.7746 MB / 1.235 GB, free: 98.84 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 1.115e-05/0.2874, allocations: 0 / 1.235 GB, free: 98.84 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.371e-05/0.2874, allocations: 11.44 kB / 1.235 GB, free: 98.83 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/0.2874, allocations: 0 / 1.235 GB, free: 98.83 MB / 0.823 GB Notification: Performance of Templates: time 0.005411/0.2928, allocations: 2.875 MB / 1.238 GB, free: 95.96 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)