Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_1.6_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_1.6_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.0008584/0.0008583, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005465/0.005465, allocations: 171.5 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.842/2.842, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003656, allocations: 9.312 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3711, allocations: 162.2 MB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001789/0.373, allocations: 1.125 MB / 1.075 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002242/0.3752, allocations: 1.892 MB / 1.077 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.299e-05/0.3753, allocations: 0 / 1.077 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009343/0.3762, allocations: 366.1 kB / 1.077 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.278e-05/0.3763, allocations: 15.91 kB / 1.077 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.096e-06/0.3763, allocations: 0 / 1.077 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002453/0.3765, allocations: 139.1 kB / 1.078 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.463e-05/0.3766, allocations: 25.48 kB / 1.078 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.09e-05/0.3767, allocations: 39.86 kB / 1.078 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.3768, allocations: 67.7 kB / 1.078 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.3768, allocations: 0 / 1.078 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004038/0.3773, allocations: 179.9 kB / 1.078 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.1e-05/0.3773, allocations: 31.83 kB / 1.078 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.3774, allocations: 97.31 kB / 1.078 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004234/0.3779, allocations: 283.1 kB / 1.078 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.3779, allocations: 3.984 kB / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.434e-06/0.3779, allocations: 4 kB / 1.078 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.3779, allocations: 0 / 1.078 GB, free: 3.297 MB / 0.8262 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.0007077/0.3786, allocations: 482.6 kB / 1.079 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.3787, allocations: 8.031 kB / 1.079 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.3788, allocations: 96.03 kB / 1.079 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.3791, allocations: 287.3 kB / 1.079 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.488e-05/0.3792, allocations: 158.9 kB / 1.079 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.82e-05/0.3792, allocations: 158.9 kB / 1.079 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.65e-05/0.3793, allocations: 109 kB / 1.08 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.3793, allocations: 75.28 kB / 1.08 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.397e-05/0.3794, allocations: 150.6 kB / 1.08 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.974e-05/0.3795, allocations: 150.6 kB / 1.08 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.099e-05/0.3795, allocations: 158.6 kB / 1.08 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.3799, allocations: 0.5016 MB / 1.081 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.331e-05/0.38, allocations: 177.1 kB / 1.081 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.513e-05/0.38, allocations: 80.14 kB / 1.081 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.5e-05/0.38, allocations: 79.28 kB / 1.081 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/0.3801, allocations: 109.8 kB / 1.081 GB, free: 400 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.031e-06/0.3801, allocations: 0 / 1.081 GB, free: 400 kB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001721/0.3803, allocations: 49.5 kB / 1.081 GB, free: 344 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.3804, allocations: 130.6 kB / 1.081 GB, free: 200 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/0.3807, allocations: 326.2 kB / 1.081 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.3807, allocations: 29.7 kB / 1.081 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.774e-05/0.3808, allocations: 116.4 kB / 1.082 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.586e-06/0.3808, allocations: 0 / 1.082 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.021e-05/0.3809, allocations: 49.69 kB / 1.082 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.381, allocations: 330.8 kB / 1.082 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.962e-05/0.3811, allocations: 67.73 kB / 1.082 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.3812, allocations: 118 kB / 1.082 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.3815, allocations: 209.8 kB / 1.082 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3815, allocations: 4 kB / 1.082 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003968/0.3819, allocations: 233.2 kB / 1.083 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3819, allocations: 4 kB / 1.083 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.3819, allocations: 4 kB / 1.083 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.3819, allocations: 0 / 1.083 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.975e-06/0.3819, allocations: 8.219 kB / 1.083 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.382, allocations: 0 / 1.083 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.3821, allocations: 31.58 kB / 1.083 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.3821, allocations: 7.938 kB / 1.083 GB, free: 14.61 MB / 0.8419 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.0001937/0.3823, allocations: 229 kB / 1.083 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.824e-05/0.3824, allocations: 120.7 kB / 1.083 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.419e-05/0.3824, allocations: 117.8 kB / 1.083 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.448e-05/0.3825, allocations: 180.3 kB / 1.083 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.817e-05/0.3825, allocations: 176.3 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.828e-05/0.3826, allocations: 184.2 kB / 1.084 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.3829, allocations: 449.2 kB / 1.084 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.773e-05/0.3829, allocations: 108.9 kB / 1.084 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.05e-05/0.3829, allocations: 112.9 kB / 1.084 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.914e-05/0.383, allocations: 180.5 kB / 1.084 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.213e-05/0.3831, allocations: 184.2 kB / 1.085 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.503e-05/0.3831, allocations: 180.3 kB / 1.085 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.893e-05/0.3832, allocations: 180.2 kB / 1.085 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.3833, allocations: 327.5 kB / 1.085 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.095e-05/0.3834, allocations: 205.8 kB / 1.085 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.42e-05/0.3835, allocations: 176.3 kB / 1.086 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.3836, allocations: 104.9 kB / 1.086 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.032e-05/0.3837, allocations: 184.3 kB / 1.086 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/0.3838, allocations: 105 kB / 1.086 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001908/0.384, allocations: 217.8 kB / 1.086 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.384, allocations: 4 kB / 1.086 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003257/0.3843, allocations: 60 kB / 1.086 GB, free: 10.68 MB / 0.8419 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.0003315/0.3846, allocations: 270.4 kB / 1.086 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001814/0.3848, allocations: 103.9 kB / 1.087 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3848, allocations: 0 / 1.087 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.3848, allocations: 0 / 1.087 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.3853, allocations: 0.5319 MB / 1.087 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005312/0.3858, allocations: 437.9 kB / 1.087 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.3861, allocations: 0.7433 MB / 1.088 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.426e-05/0.3861, allocations: 4 kB / 1.088 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.834e-05/0.3862, allocations: 7.438 kB / 1.088 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3862, allocations: 4 kB / 1.088 GB, free: 8.523 MB / 0.8419 GB Notification: Performance of Templates: time 0.005134/0.3913, allocations: 2.214 MB / 1.09 GB, free: 6.316 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_1.6_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_1.6_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_1.6_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)