Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.41/1.41, allocations: 249.5 MB / 257 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 195.4 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008797/0.0008796, allocations: 95.42 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.791e-05/1.785e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2065, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7461/0.9526, allocations: 148.8 MB / 1.031 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.9529, allocations: 80.64 kB / 1.031 GB, free: 6.418 MB / 0.6511 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.01304/0.966, allocations: 5.602 MB / 1.036 GB, free: 1.883 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.172e-06/0.966, allocations: 0 / 1.036 GB, free: 1.883 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.966, allocations: 4 kB / 1.036 GB, free: 1.879 MB / 0.6511 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.0004888/0.9665, allocations: 456 kB / 1.037 GB, free: 1.383 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.9666, allocations: 8.031 kB / 1.037 GB, free: 1.375 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002076/0.9668, allocations: 23.89 kB / 1.037 GB, free: 1.352 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.967, allocations: 219.6 kB / 1.037 GB, free: 1.109 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.023e-05/0.9671, allocations: 34.11 kB / 1.037 GB, free: 1.07 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.9671, allocations: 4 kB / 1.037 GB, free: 1.066 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001429/0.9673, allocations: 68.91 kB / 1.037 GB, free: 1.02 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.9675, allocations: 132.7 kB / 1.037 GB, free: 0.8984 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.9675, allocations: 0 / 1.037 GB, free: 0.8984 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.9675, allocations: 0 / 1.037 GB, free: 0.8984 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.58e-05/0.9675, allocations: 19.31 kB / 1.037 GB, free: 0.8828 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007124/0.9683, allocations: 0.6052 MB / 1.038 GB, free: 296 kB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.9685, allocations: 45.75 kB / 1.038 GB, free: 248 kB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.118e-05/0.9685, allocations: 19.98 kB / 1.038 GB, free: 232 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.9685, allocations: 8 kB / 1.038 GB, free: 224 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.9687, allocations: 141.2 kB / 1.038 GB, free: 72 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.9687, allocations: 0 / 1.038 GB, free: 72 kB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0002177/0.9689, allocations: 85.05 kB / 1.038 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.969, allocations: 135.4 kB / 1.038 GB, free: 15.83 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.9691, allocations: 154.4 kB / 1.038 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.9692, allocations: 25.7 kB / 1.038 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.9692, allocations: 146.2 kB / 1.038 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.9693, allocations: 19.61 kB / 1.038 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/0.9693, allocations: 0 / 1.038 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.9694, allocations: 330.5 kB / 1.039 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.848e-05/0.9694, allocations: 24.81 kB / 1.039 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.289e-05/0.9695, allocations: 100.9 kB / 1.039 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.952e-05/0.9696, allocations: 32.36 kB / 1.039 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.9696, allocations: 4 kB / 1.039 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000227/0.9698, allocations: 162.3 kB / 1.039 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.3e-05/0.9699, allocations: 63.39 kB / 1.039 GB, free: 14.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.9699, allocations: 4 kB / 1.039 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.9699, allocations: 0 / 1.039 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.97, allocations: 28.3 kB / 1.039 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.9701, allocations: 11.94 kB / 1.039 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.9702, allocations: 31.78 kB / 1.039 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.9702, allocations: 10.38 kB / 1.039 GB, free: 14.73 MB / 0.6667 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 9.976e-05/0.9703, allocations: 137.6 kB / 1.039 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001596/0.9705, allocations: 109.3 kB / 1.039 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.9705, allocations: 15.8 kB / 1.039 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.02e-05/0.9706, allocations: 12.91 kB / 1.039 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.9706, allocations: 11.94 kB / 1.039 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.9706, allocations: 3.953 kB / 1.039 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.9706, allocations: 0 / 1.039 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.9707, allocations: 180.3 kB / 1.04 GB, free: 14.26 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.9708, allocations: 0 / 1.04 GB, free: 14.26 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.952e-05/0.9708, allocations: 11.98 kB / 1.04 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.9708, allocations: 0 / 1.04 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.9709, allocations: 8 kB / 1.04 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.9709, allocations: 0 / 1.04 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.9709, allocations: 0 / 1.04 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.9711, allocations: 161.1 kB / 1.04 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.9712, allocations: 88.98 kB / 1.04 GB, free: 13.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.9712, allocations: 7.984 kB / 1.04 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.116e-05/0.9713, allocations: 8 kB / 1.04 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.9714, allocations: 11.73 kB / 1.04 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.9714, allocations: 0 / 1.04 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 8.695e-05/0.9715, allocations: 135.6 kB / 1.04 GB, free: 13.85 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9715, allocations: 0 / 1.04 GB, free: 13.85 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002475/0.9717, allocations: 24 kB / 1.04 GB, free: 13.82 MB / 0.6667 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.0004891/0.9722, allocations: 0.6995 MB / 1.041 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002237/0.9725, allocations: 199.6 kB / 1.041 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.9725, allocations: 0 / 1.041 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 8.011e-05/0.9726, allocations: 91.09 kB / 1.041 GB, free: 12.85 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.9728, allocations: 19.44 kB / 1.041 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005521/0.9733, allocations: 230.6 kB / 1.041 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.9736, allocations: 0.7229 MB / 1.042 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 6.866e-05/0.9737, allocations: 16.98 kB / 1.042 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.286e-05/0.9738, allocations: 34.92 kB / 1.042 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of SimCode: time 2.5e-07/0.9738, allocations: 4 kB / 1.042 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.9938, allocations: 2.269 MB / 1.044 GB, free: 9.566 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/0.9941, allocations: 160.5 kB / 1.044 GB, free: 9.367 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/2.633, allocations: 4 kB / 1.044 GB, free: 9.363 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)