Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.452/2.452, allocations: 284.8 MB / 297.3 MB, free: 6.363 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.001472/0.001472, allocations: 184.8 kB / 365.7 MB, free: 2.602 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 1.913/1.913, allocations: 205.2 MB / 0.6241 GB, free: 8.156 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001008/0.001007, allocations: 92.73 kB / 0.7372 GB, free: 40.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.884e-05/3.891e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7778/0.7779, allocations: 115.2 MB / 0.97 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2758/1.054, allocations: 165.6 MB / 1.132 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00034/1.054, allocations: 97.42 kB / 1.132 GB, free: 2.699 MB / 0.7292 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);. Notification: Performance of FrontEnd - DAE generated: time 0.07949/1.134, allocations: 19.36 MB / 1.151 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.415e-06/1.134, allocations: 4 kB / 1.151 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.225e-05/1.134, allocations: 8.188 kB / 1.151 GB, free: 15.23 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001482/1.135, allocations: 0.5942 MB / 1.151 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/1.135, allocations: 8.031 kB / 1.151 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/1.136, allocations: 99.42 kB / 1.151 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006259/1.137, allocations: 290.4 kB / 1.152 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/1.137, allocations: 28.7 kB / 1.152 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.641e-05/1.137, allocations: 31.98 kB / 1.152 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/1.138, allocations: 443.6 kB / 1.152 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/1.138, allocations: 3.938 kB / 1.152 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.7e-05/1.139, allocations: 15.98 kB / 1.152 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.132e-05/1.139, allocations: 32.75 kB / 1.152 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008532/1.139, allocations: 310.9 kB / 1.152 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003466/1.143, allocations: 2.053 MB / 1.155 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007662/1.144, allocations: 187.9 kB / 1.155 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004438/1.144, allocations: 140.7 kB / 1.155 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.616e-05/1.144, allocations: 0 / 1.155 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/1.144, allocations: 46.5 kB / 1.155 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 1.903e-06/1.144, allocations: 0 / 1.155 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18): time 0.0006837/1.145, allocations: 192.2 kB / 1.155 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/1.145, allocations: 51.41 kB / 1.155 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003713/1.145, allocations: 239 kB / 1.155 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/1.146, allocations: 25.7 kB / 1.155 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.00017/1.146, allocations: 219.7 kB / 1.156 GB, free: 9.906 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.98e-05/1.146, allocations: 59.11 kB / 1.156 GB, free: 9.848 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-05/1.146, allocations: 7.656 kB / 1.156 GB, free: 9.844 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001511/1.146, allocations: 338.8 kB / 1.156 GB, free: 9.504 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/1.146, allocations: 68.48 kB / 1.156 GB, free: 9.438 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/1.147, allocations: 175.6 kB / 1.156 GB, free: 9.215 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/1.147, allocations: 98.09 kB / 1.156 GB, free: 9.121 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/1.147, allocations: 0 / 1.156 GB, free: 9.121 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008665/1.148, allocations: 301.8 kB / 1.157 GB, free: 8.816 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005754/1.148, allocations: 1.403 MB / 1.158 GB, free: 7.305 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/1.148, allocations: 4 kB / 1.158 GB, free: 7.301 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002571/1.149, allocations: 28.84 kB / 1.158 GB, free: 7.27 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005575/1.149, allocations: 71.89 kB / 1.158 GB, free: 7.199 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005316/1.15, allocations: 0.5526 MB / 1.159 GB, free: 6.621 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004858/1.15, allocations: 47.66 kB / 1.159 GB, free: 6.574 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/1.15, allocations: 12 kB / 1.159 GB, free: 6.562 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/1.15, allocations: 6.344 kB / 1.159 GB, free: 6.559 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006136/1.151, allocations: 231.5 kB / 1.159 GB, free: 6.332 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.151, allocations: 4 kB / 1.159 GB, free: 6.328 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/1.151, allocations: 6.875 kB / 1.159 GB, free: 6.324 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005515/1.151, allocations: 80.36 kB / 1.159 GB, free: 6.246 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/1.152, allocations: 11.98 kB / 1.159 GB, free: 6.234 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004085/1.152, allocations: 39.67 kB / 1.159 GB, free: 6.195 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/1.152, allocations: 12 kB / 1.159 GB, free: 6.184 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001634/1.152, allocations: 124.8 kB / 1.159 GB, free: 6.055 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.1e-05/1.152, allocations: 23.72 kB / 1.159 GB, free: 6.031 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/1.152, allocations: 37.95 kB / 1.159 GB, free: 5.988 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/1.152, allocations: 11.92 kB / 1.159 GB, free: 5.977 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.152, allocations: 0 / 1.159 GB, free: 5.977 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/1.152, allocations: 0 / 1.159 GB, free: 5.977 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/1.154, allocations: 0.6992 MB / 1.16 GB, free: 5.199 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/1.154, allocations: 4.062 kB / 1.16 GB, free: 5.195 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000386/1.154, allocations: 47.91 kB / 1.16 GB, free: 5.148 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001725/1.155, allocations: 28.83 kB / 1.16 GB, free: 5.117 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/1.155, allocations: 0 / 1.16 GB, free: 5.117 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/1.156, allocations: 1.317 MB / 1.161 GB, free: 3.672 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.156, allocations: 4.031 kB / 1.161 GB, free: 3.668 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006673/1.157, allocations: 341.2 kB / 1.162 GB, free: 3.297 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/1.157, allocations: 120.7 kB / 1.162 GB, free: 3.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.695e-05/1.157, allocations: 8 kB / 1.162 GB, free: 3.152 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/1.157, allocations: 27.97 kB / 1.162 GB, free: 3.125 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.182e-05/1.157, allocations: 13.11 kB / 1.162 GB, free: 3.113 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/1.157, allocations: 8 kB / 1.162 GB, free: 3.105 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002675/1.158, allocations: 183.1 kB / 1.162 GB, free: 2.93 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4e-07/1.158, allocations: 0 / 1.162 GB, free: 2.93 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000807/1.159, allocations: 143.5 kB / 1.162 GB, free: 2.789 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001778/1.159, allocations: 103.2 kB / 1.162 GB, free: 2.68 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001009/1.16, allocations: 304 kB / 1.162 GB, free: 2.383 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.16, allocations: 4.25 kB / 1.162 GB, free: 2.379 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004002/1.16, allocations: 198.4 kB / 1.163 GB, free: 2.172 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00067/1.161, allocations: 71.91 kB / 1.163 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/1.162, allocations: 381.1 kB / 1.163 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004743/1.163, allocations: 0.8081 MB / 1.164 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0005267/1.163, allocations: 81.2 kB / 1.164 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/1.163, allocations: 23.42 kB / 1.164 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of SimCode: time 1.222e-06/1.163, allocations: 0 / 1.164 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of Templates: time 0.01144/1.175, allocations: 3.309 MB / 1.167 GB, free: 13.55 MB / 0.7761 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)