Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.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.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.401/2.401, allocations: 284.8 MB / 297.3 MB, free: 6.277 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.001471/0.00147, allocations: 192.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.936/1.936, allocations: 205.2 MB / 0.6241 GB, free: 8.184 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.001082/0.001081, allocations: 96.08 kB / 0.7372 GB, free: 40.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.175e-05/3.194e-05, allocations: 4 kB / 0.8574 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.791/0.791, allocations: 115.2 MB / 0.97 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2575/1.049, allocations: 154.6 MB / 1.121 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/1.049, allocations: 81.03 kB / 1.121 GB, free: 13.71 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);. Notification: Performance of FrontEnd - DAE generated: time 0.02161/1.071, allocations: 5.618 MB / 1.127 GB, free: 8.098 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.883e-06/1.071, allocations: 7.5 kB / 1.127 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.568e-05/1.071, allocations: 4 kB / 1.127 GB, free: 8.09 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000617/1.071, allocations: 458.9 kB / 1.127 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/1.071, allocations: 8.594 kB / 1.127 GB, free: 7.574 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002746/1.072, allocations: 28.67 kB / 1.127 GB, free: 7.547 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/1.072, allocations: 210.7 kB / 1.127 GB, free: 7.301 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.681e-05/1.072, allocations: 43.69 kB / 1.127 GB, free: 7.254 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.946e-05/1.072, allocations: 8 kB / 1.127 GB, free: 7.246 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/1.072, allocations: 140.4 kB / 1.127 GB, free: 7.098 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/1.072, allocations: 4 kB / 1.127 GB, free: 7.094 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/1.073, allocations: 0 / 1.127 GB, free: 7.094 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.937e-05/1.073, allocations: 12.14 kB / 1.127 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002314/1.073, allocations: 80.47 kB / 1.127 GB, free: 7.004 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/1.074, allocations: 0.6302 MB / 1.128 GB, free: 6.316 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/1.074, allocations: 54.52 kB / 1.128 GB, free: 6.254 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.271e-05/1.074, allocations: 24.98 kB / 1.128 GB, free: 6.227 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/1.074, allocations: 0 / 1.128 GB, free: 6.227 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/1.074, allocations: 138.7 kB / 1.128 GB, free: 6.066 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.993e-06/1.075, allocations: 0 / 1.128 GB, free: 6.066 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003275/1.075, allocations: 115.3 kB / 1.128 GB, free: 5.941 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.499e-05/1.075, allocations: 148.5 kB / 1.129 GB, free: 5.766 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/1.075, allocations: 174.6 kB / 1.129 GB, free: 5.59 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/1.075, allocations: 25.7 kB / 1.129 GB, free: 5.559 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/1.075, allocations: 135.8 kB / 1.129 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/1.075, allocations: 23.78 kB / 1.129 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.133e-05/1.075, allocations: 0 / 1.129 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.076, allocations: 326.8 kB / 1.129 GB, free: 5.066 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.8e-05/1.076, allocations: 28 kB / 1.129 GB, free: 5.039 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/1.076, allocations: 106.8 kB / 1.129 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/1.076, allocations: 103.3 kB / 1.129 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/1.076, allocations: 1.688 kB / 1.129 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004543/1.076, allocations: 235.2 kB / 1.13 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.123e-05/1.077, allocations: 63.41 kB / 1.13 GB, free: 4.469 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/1.077, allocations: 0 / 1.13 GB, free: 4.469 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/1.077, allocations: 4 kB / 1.13 GB, free: 4.465 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/1.077, allocations: 31.94 kB / 1.13 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/1.077, allocations: 11.92 kB / 1.13 GB, free: 4.422 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/1.077, allocations: 23.84 kB / 1.13 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/1.077, allocations: 12.19 kB / 1.13 GB, free: 4.387 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$PRE.voltageControl.ctrl.connected,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.tSwitch) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001269/1.077, allocations: 150.5 kB / 1.13 GB, free: 4.227 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.441e-05/1.077, allocations: 15.81 kB / 1.13 GB, free: 4.211 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.047e-05/1.077, allocations: 13.53 kB / 1.13 GB, free: 4.199 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/1.077, allocations: 3.984 kB / 1.13 GB, free: 4.195 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/1.077, allocations: 10.48 kB / 1.13 GB, free: 4.188 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.077, allocations: 0 / 1.13 GB, free: 4.188 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/1.078, allocations: 205.6 kB / 1.13 GB, free: 3.938 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/1.078, allocations: 0 / 1.13 GB, free: 3.938 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/1.078, allocations: 15.98 kB / 1.13 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/1.078, allocations: 0 / 1.13 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/1.078, allocations: 4 kB / 1.13 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.078, allocations: 0 / 1.13 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.078, allocations: 2.125 kB / 1.13 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004402/1.078, allocations: 198.6 kB / 1.13 GB, free: 3.699 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.384e-05/1.078, allocations: 89.03 kB / 1.13 GB, free: 3.594 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.537e-05/1.079, allocations: 8 kB / 1.13 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/1.079, allocations: 12.06 kB / 1.13 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.021e-05/1.079, allocations: 11.92 kB / 1.13 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/1.079, allocations: 8 kB / 1.131 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001473/1.079, allocations: 128.3 kB / 1.131 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.7e-07/1.079, allocations: 0 / 1.131 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003257/1.079, allocations: 35.95 kB / 1.131 GB, free: 3.395 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001503/1.079, allocations: 103.2 kB / 1.131 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003556/1.08, allocations: 206.8 kB / 1.131 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/1.08, allocations: 0 / 1.131 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/1.08, allocations: 103.4 kB / 1.131 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/1.08, allocations: 16 kB / 1.131 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005986/1.081, allocations: 196.2 kB / 1.131 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/1.081, allocations: 0.7222 MB / 1.132 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000191/1.081, allocations: 20.77 kB / 1.132 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.191e-05/1.082, allocations: 11.44 kB / 1.132 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of SimCode: time 1.212e-06/1.082, allocations: 0 / 1.132 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of Templates: time 0.005512/1.087, allocations: 1.182 MB / 1.133 GB, free: 0.8125 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)