Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.521/2.521, allocations: 287.5 MB / 302.4 MB, free: 8.336 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001552/0.001552, allocations: 183.7 kB / 371 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.195/2.195, allocations: 205.4 MB / 0.6297 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001632/0.001632, allocations: 85.5 kB / 0.743 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004714/0.0004714, allocations: 11 kB / 0.8658 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2424, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.199/1.441, allocations: 166 MB / 1.14 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/1.442, allocations: 93.59 kB / 1.141 GB, free: 13.46 MB / 0.6823 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.06759/1.509, allocations: 17.86 MB / 1.158 GB, free: 19 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.934e-06/1.509, allocations: 0 / 1.158 GB, free: 19 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.403e-05/1.509, allocations: 8 kB / 1.158 GB, free: 18.99 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001449/1.511, allocations: 0.6336 MB / 1.159 GB, free: 18.33 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/1.511, allocations: 12.02 kB / 1.159 GB, free: 18.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/1.512, allocations: 120 kB / 1.159 GB, free: 18.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007587/1.513, allocations: 323 kB / 1.159 GB, free: 17.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.908e-05/1.513, allocations: 55.81 kB / 1.159 GB, free: 17.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.874e-05/1.513, allocations: 38.19 kB / 1.159 GB, free: 17.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/1.514, allocations: 0.4953 MB / 1.16 GB, free: 17.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/1.514, allocations: 0 / 1.16 GB, free: 17.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.053e-05/1.514, allocations: 15.78 kB / 1.16 GB, free: 17.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-05/1.514, allocations: 28.98 kB / 1.16 GB, free: 17.37 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/1.515, allocations: 394.2 kB / 1.16 GB, free: 17.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003465/1.519, allocations: 2.217 MB / 1.162 GB, free: 14.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/1.52, allocations: 271.9 kB / 1.162 GB, free: 14.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.082e-05/1.52, allocations: 0 / 1.162 GB, free: 14.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/1.52, allocations: 46.23 kB / 1.163 GB, free: 14.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 2.424e-06/1.52, allocations: 3.984 kB / 1.163 GB, free: 14.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.002302/1.523, allocations: 0.5863 MB / 1.163 GB, free: 14.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/1.523, allocations: 55.36 kB / 1.163 GB, free: 14.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/1.523, allocations: 207.7 kB / 1.163 GB, free: 13.85 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/1.523, allocations: 25.7 kB / 1.163 GB, free: 13.82 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/1.523, allocations: 218 kB / 1.164 GB, free: 13.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.451e-05/1.523, allocations: 60.8 kB / 1.164 GB, free: 13.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.408e-05/1.523, allocations: 3.438 kB / 1.164 GB, free: 13.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.523, allocations: 337.6 kB / 1.164 GB, free: 13.24 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/1.524, allocations: 98.62 kB / 1.164 GB, free: 13.17 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000477/1.524, allocations: 194 kB / 1.164 GB, free: 12.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/1.525, allocations: 114.5 kB / 1.164 GB, free: 12.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.585e-06/1.525, allocations: 4 kB / 1.164 GB, free: 12.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001437/1.526, allocations: 395.8 kB / 1.165 GB, free: 12.58 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004216/1.527, allocations: 0.8675 MB / 1.166 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/1.527, allocations: 11.89 kB / 1.166 GB, free: 11.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007521/1.527, allocations: 104.8 kB / 1.166 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000435/1.528, allocations: 63.27 kB / 1.166 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003796/1.532, allocations: 2.056 MB / 1.168 GB, free: 9.395 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004414/1.532, allocations: 31.23 kB / 1.168 GB, free: 9.367 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/1.532, allocations: 15.62 kB / 1.168 GB, free: 9.355 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/1.532, allocations: 10.02 kB / 1.168 GB, free: 9.348 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001264/1.533, allocations: 318.3 kB / 1.168 GB, free: 9.109 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/1.533, allocations: 8.031 kB / 1.168 GB, free: 9.102 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004978/1.534, allocations: 83.23 kB / 1.168 GB, free: 9.027 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004538/1.534, allocations: 55.91 kB / 1.168 GB, free: 8.973 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003163/1.538, allocations: 1.514 MB / 1.17 GB, free: 7.426 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000389/1.538, allocations: 35.27 kB / 1.17 GB, free: 7.395 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/1.538, allocations: 15.44 kB / 1.17 GB, free: 7.383 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 initialization (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003532/1.538, allocations: 248.6 kB / 1.17 GB, free: 7.152 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.119e-05/1.539, allocations: 23.72 kB / 1.17 GB, free: 7.129 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.096e-05/1.539, allocations: 32.42 kB / 1.17 GB, free: 7.109 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/1.539, allocations: 0 / 1.17 GB, free: 7.109 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/1.539, allocations: 4 kB / 1.17 GB, free: 7.105 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/1.539, allocations: 4 kB / 1.17 GB, free: 7.102 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006515/1.539, allocations: 379.2 kB / 1.17 GB, free: 6.746 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.539, allocations: 0 / 1.17 GB, free: 6.746 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003023/1.54, allocations: 38.59 kB / 1.17 GB, free: 6.711 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006395/1.54, allocations: 106.4 kB / 1.171 GB, free: 6.613 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/1.54, allocations: 3 kB / 1.171 GB, free: 6.613 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004393/1.545, allocations: 2.82 MB / 1.173 GB, free: 3.688 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.545, allocations: 0 / 1.173 GB, free: 3.688 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/1.546, allocations: 417.9 kB / 1.174 GB, free: 3.324 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/1.546, allocations: 115.3 kB / 1.174 GB, free: 3.199 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.315e-05/1.546, allocations: 3.438 kB / 1.174 GB, free: 3.199 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002908/1.547, allocations: 23.47 kB / 1.174 GB, free: 3.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-05/1.547, allocations: 26.8 kB / 1.174 GB, free: 3.156 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/1.547, allocations: 4 kB / 1.174 GB, free: 3.152 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002488/1.547, allocations: 160.2 kB / 1.174 GB, free: 3.016 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.5e-07/1.547, allocations: 0 / 1.174 GB, free: 3.016 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008428/1.548, allocations: 172.5 kB / 1.174 GB, free: 2.859 MB / 0.698 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 (16): * Single equations (assignments): 14 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001726/1.548, allocations: 114.5 kB / 1.174 GB, free: 2.738 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003214/1.551, allocations: 0.669 MB / 1.175 GB, free: 2.141 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.551, allocations: 0 / 1.175 GB, free: 2.141 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001392/1.553, allocations: 363.3 kB / 1.175 GB, free: 1.793 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005749/1.553, allocations: 59.02 kB / 1.175 GB, free: 1.746 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/1.555, allocations: 0.6788 MB / 1.176 GB, free: 1.082 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005698/1.556, allocations: 0.8167 MB / 1.177 GB, free: 260 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004191/1.556, allocations: 66.22 kB / 1.177 GB, free: 196 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.289e-05/1.556, allocations: 19.44 kB / 1.177 GB, free: 176 kB / 0.698 GB Notification: Performance of SimCode: time 1.283e-06/1.556, allocations: 0 / 1.177 GB, free: 176 kB / 0.698 GB Notification: Performance of Templates: time 0.01443/1.571, allocations: 3.981 MB / 1.181 GB, free: 12.24 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)