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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.314/1.314, allocations: 289.8 MB / 297.1 MB, free: 6.715 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008928/0.0008927, allocations: 187.8 kB / 366.3 MB, free: 1.996 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.006/1.006, allocations: 205.1 MB / 0.6256 GB, free: 5.812 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007379/0.0007379, allocations: 90.55 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.993e-06/7.103e-06, allocations: 4 kB / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3928, allocations: 116.3 MB / 0.9726 GB, free: 68.32 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.135/0.5279, allocations: 141.5 MB / 1.111 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/0.5282, allocations: 83.94 kB / 1.111 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02786/0.556, allocations: 12.51 MB / 1.123 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.5561, allocations: 4 kB / 1.123 GB, free: 10.34 MB / 0.7292 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.0003094/0.5564, allocations: 410.1 kB / 1.123 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.5564, allocations: 8.781 kB / 1.123 GB, free: 9.891 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.632e-05/0.5565, allocations: 98.98 kB / 1.124 GB, free: 9.793 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.5568, allocations: 297.4 kB / 1.124 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.158e-05/0.5568, allocations: 150.6 kB / 1.124 GB, free: 9.312 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.788e-05/0.5569, allocations: 154.6 kB / 1.124 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.275e-05/0.5569, allocations: 150.8 kB / 1.124 GB, free: 9.012 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.903e-05/0.557, allocations: 109.5 kB / 1.124 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.557, allocations: 79.22 kB / 1.124 GB, free: 8.82 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.227e-05/0.5571, allocations: 151.6 kB / 1.125 GB, free: 8.672 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.355e-05/0.5571, allocations: 154.6 kB / 1.125 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000282/0.5574, allocations: 474.5 kB / 1.125 GB, free: 8.02 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.625e-05/0.5575, allocations: 169.1 kB / 1.125 GB, free: 7.844 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.86e-05/0.5575, allocations: 84.19 kB / 1.125 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.5576, allocations: 83.19 kB / 1.125 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.5576, allocations: 109.8 kB / 1.126 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 2.194e-06/0.5576, allocations: 7.922 kB / 1.126 GB, free: 7.551 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 8.35e-05/0.5577, allocations: 45.52 kB / 1.126 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.5577, allocations: 51.41 kB / 1.126 GB, free: 7.438 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/Transmission/LowVoltageCables/Generic.mo:7:3-8:44:writable] Warning: Parameter cab[7].XCha has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/Transmission/LowVoltageCables/Generic.mo:5:3-6:45:writable] Warning: Parameter cab[7].RCha has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/Transmission/LowVoltageCables/Generic.mo:7:3-8:44:writable] Warning: Parameter cab[6].XCha has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/Transmission/LowVoltageCables/Generic.mo:5:3-6:45:writable] Warning: Parameter cab[6].RCha has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/Transmission/LowVoltageCables/Generic.mo:7:3-8:44:writable] Warning: Parameter cab[5].XCha has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/Transmission/LowVoltageCables/Generic.mo:5:3-6:45:writable] Warning: Parameter cab[5].RCha has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/Transmission/LowVoltageCables/Generic.mo:7:3-8:44:writable] Warning: Parameter cab[4].XCha has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/Transmission/LowVoltageCables/Generic.mo:5:3-6:45:writable] Warning: Parameter cab[4].RCha has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/Transmission/LowVoltageCables/Generic.mo:7:3-8:44:writable] Warning: Parameter cab[3].XCha has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/Transmission/LowVoltageCables/Generic.mo:5:3-6:45:writable] Warning: Parameter cab[3].RCha has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/Transmission/LowVoltageCables/Generic.mo:7:3-8:44:writable] Warning: Parameter cab[2].XCha has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/Transmission/LowVoltageCables/Generic.mo:5:3-6:45:writable] Warning: Parameter cab[2].RCha has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/Transmission/LowVoltageCables/Generic.mo:7:3-8:44:writable] Warning: Parameter cab[1].XCha has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/Transmission/LowVoltageCables/Generic.mo:5:3-6:45:writable] Warning: Parameter cab[1].RCha has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003688/0.5581, allocations: 290 kB / 1.126 GB, free: 7.145 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.5581, allocations: 26.73 kB / 1.126 GB, free: 7.113 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.5582, allocations: 100.1 kB / 1.126 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.052e-06/0.5582, allocations: 0 / 1.126 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-07/0.5582, allocations: 0 / 1.126 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.5583, allocations: 330.8 kB / 1.126 GB, free: 6.68 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.835e-06/0.5583, allocations: 0 / 1.126 GB, free: 6.68 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.445e-06/0.5583, allocations: 0 / 1.126 GB, free: 6.68 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.903e-05/0.5583, allocations: 79.28 kB / 1.126 GB, free: 6.602 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.911e-05/0.5584, allocations: 79.28 kB / 1.127 GB, free: 6.523 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.956e-05/0.5584, allocations: 49.36 kB / 1.127 GB, free: 6.469 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.5585, allocations: 6.031 kB / 1.127 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-05/0.5585, allocations: 81.25 kB / 1.127 GB, free: 6.387 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.519e-05/0.5585, allocations: 150.6 kB / 1.127 GB, free: 6.238 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.771e-05/0.5586, allocations: 79.22 kB / 1.127 GB, free: 6.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.042e-05/0.5586, allocations: 158.5 kB / 1.127 GB, free: 6.004 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.5587, allocations: 75.28 kB / 1.127 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.5588, allocations: 83.22 kB / 1.127 GB, free: 5.848 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 9.094e-05/0.5589, allocations: 255.5 kB / 1.127 GB, free: 5.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-05/0.5589, allocations: 120.7 kB / 1.128 GB, free: 5.465 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.823e-05/0.559, allocations: 121.8 kB / 1.128 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.409e-05/0.5591, allocations: 184.2 kB / 1.128 GB, free: 5.156 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.672e-05/0.5591, allocations: 180.3 kB / 1.128 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.216e-05/0.5592, allocations: 176.3 kB / 1.128 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.5594, allocations: 433.7 kB / 1.129 GB, free: 4.324 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.353e-05/0.5595, allocations: 110.2 kB / 1.129 GB, free: 4.211 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.966e-05/0.5595, allocations: 108.9 kB / 1.129 GB, free: 4.098 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.726e-05/0.5596, allocations: 192.2 kB / 1.129 GB, free: 3.902 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.226e-05/0.5596, allocations: 176.3 kB / 1.129 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-05/0.5597, allocations: 176.3 kB / 1.129 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-05/0.5597, allocations: 180.2 kB / 1.13 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000129/0.5599, allocations: 329.5 kB / 1.13 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.46e-05/0.5599, allocations: 193.8 kB / 1.13 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.535e-05/0.56, allocations: 181.9 kB / 1.13 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.5601, allocations: 109 kB / 1.13 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.5602, allocations: 180.2 kB / 1.13 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.5602, allocations: 105 kB / 1.131 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001615/0.5604, allocations: 209.2 kB / 1.131 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002444/0.5607, allocations: 16 kB / 1.131 GB, free: 1.992 MB / 0.7292 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 () * 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.0001874/0.5609, allocations: 226.4 kB / 1.131 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 2.472e-05/0.5609, allocations: 4 kB / 1.131 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5609, allocations: 4 kB / 1.131 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.5609, allocations: 1.312 kB / 1.131 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.5614, allocations: 0.5867 MB / 1.132 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.5618, allocations: 290.5 kB / 1.132 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003106/0.5621, allocations: 0.7504 MB / 1.133 GB, free: 76 kB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.5621, allocations: 0.6562 kB / 1.133 GB, free: 76 kB / 0.7292 GB Notification: Performance of Templates: time 0.004058/0.5662, allocations: 1.93 MB / 1.134 GB, free: 14.2 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (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)