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.693/2.693, allocations: 287.5 MB / 302.5 MB, free: 8.262 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.001497/0.001497, allocations: 181.2 kB / 371 MB, free: 10.77 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.224/2.224, allocations: 205.4 MB / 0.6297 GB, free: 10.48 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.001131/0.001131, allocations: 108.7 kB / 0.743 GB, free: 6.488 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004768/0.0004768, allocations: 15.69 kB / 0.8658 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2178, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9826/1.201, allocations: 154.7 MB / 1.129 GB, free: 16.07 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/1.201, allocations: 83.06 kB / 1.13 GB, free: 16.07 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);. Notification: Performance of FrontEnd - DAE generated: time 0.02032/1.221, allocations: 5.674 MB / 1.135 GB, free: 30.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.785e-06/1.221, allocations: 0 / 1.135 GB, free: 30.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.96e-05/1.221, allocations: 7.781 kB / 1.135 GB, free: 30.38 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000712/1.222, allocations: 468.2 kB / 1.135 GB, free: 29.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/1.222, allocations: 15.7 kB / 1.136 GB, free: 29.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002846/1.222, allocations: 27.08 kB / 1.136 GB, free: 29.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/1.223, allocations: 208.7 kB / 1.136 GB, free: 29.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.923e-05/1.223, allocations: 37.31 kB / 1.136 GB, free: 29.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/1.223, allocations: 14.84 kB / 1.136 GB, free: 29.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003558/1.223, allocations: 145.5 kB / 1.136 GB, free: 29.56 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/1.223, allocations: 0 / 1.136 GB, free: 29.56 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/1.223, allocations: 7.094 kB / 1.136 GB, free: 29.56 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-05/1.223, allocations: 12 kB / 1.136 GB, free: 29.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002948/1.224, allocations: 95.75 kB / 1.136 GB, free: 29.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009863/1.225, allocations: 0.6367 MB / 1.137 GB, free: 28.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/1.225, allocations: 58.95 kB / 1.137 GB, free: 28.95 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/1.225, allocations: 0 / 1.137 GB, free: 28.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002482/1.225, allocations: 140.7 kB / 1.137 GB, free: 28.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 3.506e-06/1.225, allocations: 4 kB / 1.137 GB, free: 28.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0005749/1.226, allocations: 244.3 kB / 1.137 GB, free: 28.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/1.226, allocations: 139.8 kB / 1.137 GB, free: 28.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/1.226, allocations: 163.1 kB / 1.137 GB, free: 28.37 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/1.226, allocations: 32.86 kB / 1.137 GB, free: 28.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.565e-05/1.226, allocations: 129 kB / 1.138 GB, free: 28.22 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/1.226, allocations: 33.92 kB / 1.138 GB, free: 28.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.405e-05/1.226, allocations: 7.375 kB / 1.138 GB, free: 28.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.226, allocations: 324.9 kB / 1.138 GB, free: 27.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/1.227, allocations: 36.48 kB / 1.138 GB, free: 27.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/1.227, allocations: 112.1 kB / 1.138 GB, free: 27.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/1.227, allocations: 105.5 kB / 1.138 GB, free: 27.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.227, allocations: 3.844 kB / 1.138 GB, free: 27.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005642/1.228, allocations: 241.1 kB / 1.138 GB, free: 27.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.237e-05/1.228, allocations: 65.06 kB / 1.138 GB, free: 27.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/1.228, allocations: 4 kB / 1.138 GB, free: 27.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/1.228, allocations: 3.75 kB / 1.138 GB, free: 27.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/1.228, allocations: 35.2 kB / 1.138 GB, free: 27.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/1.228, allocations: 3.953 kB / 1.138 GB, free: 27.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/1.228, allocations: 34.39 kB / 1.138 GB, free: 27.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/1.228, allocations: 7.656 kB / 1.138 GB, free: 27.47 MB / 0.698 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 () * Number of clocked 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.0002002/1.228, allocations: 170.3 kB / 1.139 GB, free: 27.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/1.228, allocations: 11.72 kB / 1.139 GB, free: 27.31 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.974e-05/1.229, allocations: 16.61 kB / 1.139 GB, free: 27.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/1.229, allocations: 0 / 1.139 GB, free: 27.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.229, allocations: 0 / 1.139 GB, free: 27.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/1.229, allocations: 3.953 kB / 1.139 GB, free: 27.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/1.229, allocations: 210.7 kB / 1.139 GB, free: 27.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.229, allocations: 0 / 1.139 GB, free: 27.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/1.229, allocations: 11.62 kB / 1.139 GB, free: 27.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/1.229, allocations: 0 / 1.139 GB, free: 27.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/1.229, allocations: 4 kB / 1.139 GB, free: 27.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/1.229, allocations: 3.938 kB / 1.139 GB, free: 27.08 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.229, allocations: 7.891 kB / 1.139 GB, free: 27.08 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005462/1.23, allocations: 216.8 kB / 1.139 GB, free: 26.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.54e-05/1.23, allocations: 95.84 kB / 1.139 GB, free: 26.85 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.42e-05/1.23, allocations: 8.031 kB / 1.139 GB, free: 26.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/1.23, allocations: 11.5 kB / 1.139 GB, free: 26.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/1.23, allocations: 11.8 kB / 1.139 GB, free: 26.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-05/1.23, allocations: 3.844 kB / 1.139 GB, free: 26.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003471/1.231, allocations: 141.2 kB / 1.139 GB, free: 26.75 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.042e-06/1.231, allocations: 0 / 1.139 GB, free: 26.75 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009598/1.232, allocations: 31.16 kB / 1.139 GB, free: 26.74 MB / 0.698 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) * Number of clocked states: 0 () * 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.0001846/1.232, allocations: 114.4 kB / 1.14 GB, free: 26.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000482/1.232, allocations: 223.2 kB / 1.14 GB, free: 26.49 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.232, allocations: 0 / 1.14 GB, free: 26.49 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001733/1.232, allocations: 99.83 kB / 1.14 GB, free: 26.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/1.233, allocations: 24.23 kB / 1.14 GB, free: 26.42 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000707/1.233, allocations: 327.7 kB / 1.14 GB, free: 26.18 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/1.234, allocations: 0.7186 MB / 1.141 GB, free: 25.46 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001194/1.234, allocations: 20.34 kB / 1.141 GB, free: 25.45 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/1.234, allocations: 15.12 kB / 1.141 GB, free: 25.45 MB / 0.698 GB Notification: Performance of SimCode: time 1.643e-06/1.234, allocations: 0 / 1.141 GB, free: 25.45 MB / 0.698 GB Notification: Performance of Templates: time 0.004827/1.239, allocations: 1.164 MB / 1.142 GB, free: 24.88 MB / 0.698 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)