Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.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.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.366/2.366, allocations: 284.8 MB / 297.3 MB, free: 6.359 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.00147/0.00147, allocations: 176.8 kB / 365.7 MB, free: 2.57 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.881/1.881, allocations: 205.1 MB / 0.6241 GB, free: 8.199 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.001098/0.001098, allocations: 102.2 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.566e-05/3.568e-05, allocations: 4 kB / 0.8574 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7878/0.7879, allocations: 115.2 MB / 0.97 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.628/7.416, allocations: 2.105 GB / 3.075 GB, free: 282.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003525/7.417, allocations: 93.3 kB / 3.075 GB, free: 282.4 MB / 0.948 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.3369/7.753, allocations: 69.36 MB / 3.143 GB, free: 267.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.505e-06/7.753, allocations: 4 kB / 3.143 GB, free: 267.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002107/7.754, allocations: 39.28 kB / 3.143 GB, free: 267.2 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 372 * Number of variables: 372 Notification: Performance of Generate backend data structure: time 0.00784/7.762, allocations: 1.538 MB / 3.145 GB, free: 266.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.471e-05/7.762, allocations: 9.594 kB / 3.145 GB, free: 266.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01473/7.776, allocations: 0.8063 MB / 3.145 GB, free: 265.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004072/7.781, allocations: 0.888 MB / 3.146 GB, free: 265.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002106/7.781, allocations: 104 kB / 3.146 GB, free: 265.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007595/7.782, allocations: 148.5 kB / 3.146 GB, free: 265.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007778/7.789, allocations: 1.707 MB / 3.148 GB, free: 264.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.676e-05/7.79, allocations: 1.062 kB / 3.148 GB, free: 264.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004298/7.79, allocations: 64.8 kB / 3.148 GB, free: 264.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001654/7.79, allocations: 62 kB / 3.148 GB, free: 264.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008845/7.799, allocations: 1.946 MB / 3.15 GB, free: 264.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02594/7.825, allocations: 6.144 MB / 3.156 GB, free: 261.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006227/7.831, allocations: 1.286 MB / 3.157 GB, free: 261 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002091/7.834, allocations: 0.6134 MB / 3.158 GB, free: 260.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009688/7.835, allocations: 485.3 kB / 3.158 GB, free: 260.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001959/7.837, allocations: 0.7896 MB / 3.159 GB, free: 260.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=128): time 4.809e-06/7.837, allocations: 0 / 3.159 GB, free: 260.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=128): time 0.003873/7.84, allocations: 1.233 MB / 3.16 GB, free: 259.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/7.841, allocations: 352.4 kB / 3.161 GB, free: 259.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/7.842, allocations: 0.7736 MB / 3.162 GB, free: 259.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003574/7.843, allocations: 44.05 kB / 3.162 GB, free: 259.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005688/7.843, allocations: 0.5992 MB / 3.162 GB, free: 258.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005082/7.844, allocations: 425.9 kB / 3.163 GB, free: 258.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/7.844, allocations: 21.84 kB / 3.163 GB, free: 258.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.782e-05/7.844, allocations: 352.1 kB / 3.163 GB, free: 258.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/7.845, allocations: 454.4 kB / 3.163 GB, free: 258.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/7.847, allocations: 0.6554 MB / 3.164 GB, free: 258 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/7.848, allocations: 0.5248 MB / 3.165 GB, free: 257.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/7.848, allocations: 0 / 3.165 GB, free: 257.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.003664/7.852, allocations: 1.342 MB / 3.166 GB, free: 257.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00022/7.852, allocations: 1.053 MB / 3.167 GB, free: 256.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/7.852, allocations: 7.641 kB / 3.167 GB, free: 256.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002371/7.852, allocations: 35.05 kB / 3.167 GB, free: 256.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003201/7.855, allocations: 322.1 kB / 3.167 GB, free: 256.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003587/7.856, allocations: 0.5416 MB / 3.168 GB, free: 255.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002664/7.859, allocations: 190.6 kB / 3.168 GB, free: 255.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002532/7.859, allocations: 62.61 kB / 3.168 GB, free: 255.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/7.859, allocations: 5.469 kB / 3.168 GB, free: 255.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003478/7.862, allocations: 1.2 MB / 3.169 GB, free: 255.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/7.862, allocations: 3.906 kB / 3.169 GB, free: 255.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/7.862, allocations: 7.75 kB / 3.169 GB, free: 255.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003499/7.866, allocations: 329.4 kB / 3.169 GB, free: 255.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.456e-05/7.866, allocations: 11.75 kB / 3.169 GB, free: 255.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00268/7.869, allocations: 176.4 kB / 3.17 GB, free: 255.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002568/7.869, allocations: 61.77 kB / 3.17 GB, free: 255.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 146 * 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.0005152/7.87, allocations: 181.2 kB / 3.17 GB, free: 255.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004167/7.87, allocations: 125.1 kB / 3.17 GB, free: 255.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005133/7.875, allocations: 1.627 MB / 3.172 GB, free: 254.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/7.875, allocations: 19.62 kB / 3.172 GB, free: 254.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/7.875, allocations: 0 / 3.172 GB, free: 254.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.951e-05/7.875, allocations: 9.094 kB / 3.172 GB, free: 254.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007511/7.883, allocations: 3.466 MB / 3.175 GB, free: 253.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/7.883, allocations: 3.984 kB / 3.175 GB, free: 253.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002998/7.886, allocations: 308 kB / 3.175 GB, free: 253.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001697/7.886, allocations: 26.5 kB / 3.175 GB, free: 253.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000168/7.886, allocations: 43.47 kB / 3.175 GB, free: 253.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009382/7.887, allocations: 1.284 MB / 3.177 GB, free: 252.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/7.887, allocations: 0 / 3.177 GB, free: 252.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003979/7.891, allocations: 1.509 MB / 3.178 GB, free: 251.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/7.892, allocations: 412.1 kB / 3.179 GB, free: 251.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003732/7.893, allocations: 34.23 kB / 3.179 GB, free: 251.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002445/7.895, allocations: 129 kB / 3.179 GB, free: 251.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002709/7.896, allocations: 92.27 kB / 3.179 GB, free: 251.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001778/7.896, allocations: 54.06 kB / 3.179 GB, free: 251.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001315/7.897, allocations: 0.6252 MB / 3.179 GB, free: 251.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.41e-07/7.897, allocations: 3.188 kB / 3.179 GB, free: 251.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002844/7.9, allocations: 0.7378 MB / 3.18 GB, free: 250.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001759/7.902, allocations: 0.5813 MB / 3.181 GB, free: 250.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005316/7.907, allocations: 1.92 MB / 3.183 GB, free: 249.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/7.907, allocations: 0 / 3.183 GB, free: 249.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001821/7.909, allocations: 0.7738 MB / 3.183 GB, free: 249.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002252/7.911, allocations: 290.6 kB / 3.184 GB, free: 249.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00514/7.916, allocations: 2.02 MB / 3.186 GB, free: 248.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008766/7.917, allocations: 1.259 MB / 3.187 GB, free: 247.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004662/7.922, allocations: 0.6314 MB / 3.187 GB, free: 246.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007664/7.923, allocations: 126.5 kB / 3.188 GB, free: 246.8 MB / 0.948 GB Notification: Performance of SimCode: time 9.61e-07/7.923, allocations: 4 kB / 3.188 GB, free: 246.8 MB / 0.948 GB Notification: Performance of Templates: time 0.05029/7.973, allocations: 20.55 MB / 3.208 GB, free: 229.7 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1)