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.393/2.393, allocations: 285 MB / 292.5 MB, free: 10.47 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.001445/0.001446, allocations: 184.8 kB / 360.7 MB, free: 7.246 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.897/1.897, allocations: 205.3 MB / 0.6192 GB, free: 12.11 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.001059/0.001059, allocations: 90.25 kB / 0.7322 GB, free: 44.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.048e-05/2.056e-05, allocations: 4 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.827/0.827, allocations: 115.2 MB / 0.9634 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.985/6.812, allocations: 2.105 GB / 3.068 GB, free: 15.11 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/6.812, allocations: 96.44 kB / 3.068 GB, free: 15.05 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.9872/7.799, allocations: 68.06 MB / 3.135 GB, free: 329 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.355e-06/7.799, allocations: 1.031 kB / 3.135 GB, free: 329 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001568/7.799, allocations: 38.16 kB / 3.135 GB, free: 329 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.005186/7.805, allocations: 1.554 MB / 3.136 GB, free: 328.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/7.805, allocations: 9.906 kB / 3.136 GB, free: 328.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009545/7.814, allocations: 0.8133 MB / 3.137 GB, free: 327.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002943/7.817, allocations: 0.8854 MB / 3.138 GB, free: 327.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/7.817, allocations: 46.84 kB / 3.138 GB, free: 327.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004384/7.818, allocations: 85.38 kB / 3.138 GB, free: 327.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005488/7.823, allocations: 1.842 MB / 3.14 GB, free: 326.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004842/7.828, allocations: 1.505 MB / 3.141 GB, free: 326.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.354e-05/7.828, allocations: 5.062 kB / 3.141 GB, free: 326.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002679/7.829, allocations: 2.188 kB / 3.141 GB, free: 326.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001248/7.829, allocations: 66.22 kB / 3.141 GB, free: 326.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01671/7.846, allocations: 5.899 MB / 3.147 GB, free: 321.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003379/7.849, allocations: 1.215 MB / 3.148 GB, free: 321 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/7.851, allocations: 0.5744 MB / 3.149 GB, free: 320.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009375/7.852, allocations: 493.1 kB / 3.149 GB, free: 320.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001731/7.853, allocations: 0.7423 MB / 3.15 GB, free: 319.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=128): time 5.811e-06/7.853, allocations: 0 / 3.15 GB, free: 319.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=128): time 0.008661/7.862, allocations: 1.649 MB / 3.152 GB, free: 318.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001481/7.862, allocations: 356.9 kB / 3.152 GB, free: 318.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002079/7.864, allocations: 0.6653 MB / 3.153 GB, free: 318.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004261/7.865, allocations: 29.55 kB / 3.153 GB, free: 318.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008408/7.866, allocations: 0.5976 MB / 3.153 GB, free: 317.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007796/7.866, allocations: 410.8 kB / 3.154 GB, free: 317.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002209/7.867, allocations: 0 / 3.154 GB, free: 317.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001465/7.867, allocations: 350 kB / 3.154 GB, free: 316.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00181/7.869, allocations: 440.4 kB / 3.154 GB, free: 316.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0021/7.871, allocations: 0.6248 MB / 3.155 GB, free: 316.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00748/7.878, allocations: 0.9787 MB / 3.156 GB, free: 315.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/7.878, allocations: 0 / 3.156 GB, free: 315.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.008508/7.887, allocations: 1.726 MB / 3.158 GB, free: 315 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002346/7.887, allocations: 1.058 MB / 3.159 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/7.887, allocations: 3.938 kB / 3.159 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002373/7.887, allocations: 32.16 kB / 3.159 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00334/7.891, allocations: 322.1 kB / 3.159 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003857/7.891, allocations: 0.5397 MB / 3.159 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002753/7.894, allocations: 157.9 kB / 3.16 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002679/7.894, allocations: 58.73 kB / 3.16 GB, free: 313.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/7.894, allocations: 3.688 kB / 3.16 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007785/7.902, allocations: 1.565 MB / 3.161 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/7.902, allocations: 7.922 kB / 3.161 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/7.902, allocations: 9.562 kB / 3.161 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003247/7.905, allocations: 331.9 kB / 3.162 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/7.905, allocations: 11.66 kB / 3.162 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002614/7.908, allocations: 145 kB / 3.162 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003373/7.908, allocations: 57.05 kB / 3.162 GB, free: 312.2 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.0005294/7.909, allocations: 132.3 kB / 3.162 GB, free: 312.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005059/7.91, allocations: 112.8 kB / 3.162 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009639/7.919, allocations: 2.017 MB / 3.164 GB, free: 311 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.981e-05/7.919, allocations: 14.94 kB / 3.164 GB, free: 311 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/7.919, allocations: 0 / 3.164 GB, free: 311 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-05/7.919, allocations: 3.984 kB / 3.164 GB, free: 311 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01235/7.932, allocations: 3.677 MB / 3.168 GB, free: 308.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/7.932, allocations: 7.859 kB / 3.168 GB, free: 308.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00305/7.935, allocations: 300.6 kB / 3.168 GB, free: 308.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001813/7.935, allocations: 28.44 kB / 3.168 GB, free: 308.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001981/7.935, allocations: 27.36 kB / 3.168 GB, free: 308.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008969/7.936, allocations: 1.224 MB / 3.169 GB, free: 307.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/7.936, allocations: 160 / 3.169 GB, free: 307.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00838/7.945, allocations: 1.896 MB / 3.171 GB, free: 306.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001416/7.946, allocations: 415 kB / 3.171 GB, free: 305.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005661/7.947, allocations: 10.58 kB / 3.171 GB, free: 305.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002798/7.949, allocations: 103.9 kB / 3.171 GB, free: 305.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004137/7.95, allocations: 98.25 kB / 3.172 GB, free: 305.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002238/7.95, allocations: 55.95 kB / 3.172 GB, free: 305.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001118/7.951, allocations: 0.5304 MB / 3.172 GB, free: 305 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.52e-07/7.951, allocations: 3.938 kB / 3.172 GB, free: 305 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003501/7.955, allocations: 0.6732 MB / 3.173 GB, free: 304.3 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.00187/7.957, allocations: 0.535 MB / 3.173 GB, free: 304 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005133/7.962, allocations: 1.823 MB / 3.175 GB, free: 302.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/7.962, allocations: 7.188 kB / 3.175 GB, free: 302.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001704/7.964, allocations: 0.7304 MB / 3.176 GB, free: 301.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002478/7.966, allocations: 266.5 kB / 3.176 GB, free: 301.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00551/7.972, allocations: 1.938 MB / 3.178 GB, free: 299.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009002/7.973, allocations: 1.274 MB / 3.179 GB, free: 297.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005063/7.978, allocations: 0.6081 MB / 3.18 GB, free: 297.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008358/7.979, allocations: 131.3 kB / 3.18 GB, free: 297.2 MB / 0.948 GB Notification: Performance of SimCode: time 9.72e-07/7.979, allocations: 0 / 3.18 GB, free: 297.2 MB / 0.948 GB Notification: Performance of Templates: time 0.0502/8.029, allocations: 19.26 MB / 3.199 GB, free: 278 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)