Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.722/1.722, allocations: 285.6 MB / 293.1 MB, free: 10.21 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 180.9 kB / 361.4 MB, free: 6.828 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.788/1.788, allocations: 205.2 MB / 0.62 GB, free: 10.68 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008288/0.0008288, allocations: 94.14 kB / 0.733 GB, free: 44.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.037e-05/2.049e-05, allocations: 0 / 0.8518 GB, free: 2.52 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8055/0.8055, allocations: 115.3 MB / 0.9644 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2292/1.035, allocations: 154.1 MB / 1.115 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/1.035, allocations: 75.95 kB / 1.115 GB, free: 1.527 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.01379/1.049, allocations: 5.619 MB / 1.12 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.254e-06/1.049, allocations: 0.8125 kB / 1.12 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.295e-05/1.049, allocations: 9.219 kB / 1.12 GB, free: 11.93 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.0005569/1.05, allocations: 461.2 kB / 1.121 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/1.05, allocations: 8.031 kB / 1.121 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002131/1.05, allocations: 24.84 kB / 1.121 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/1.05, allocations: 211.2 kB / 1.121 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.281e-05/1.05, allocations: 29.89 kB / 1.121 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/1.05, allocations: 8 kB / 1.121 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001587/1.05, allocations: 68.16 kB / 1.121 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/1.051, allocations: 130.1 kB / 1.121 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/1.051, allocations: 1.031 kB / 1.121 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/1.051, allocations: 0 / 1.121 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.47e-05/1.051, allocations: 4.188 kB / 1.121 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007652/1.051, allocations: 0.613 MB / 1.122 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/1.052, allocations: 47.78 kB / 1.122 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.665e-05/1.052, allocations: 20.98 kB / 1.122 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/1.052, allocations: 3.938 kB / 1.122 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/1.052, allocations: 134.7 kB / 1.122 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/1.052, allocations: 0 / 1.122 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0002283/1.052, allocations: 85.58 kB / 1.122 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.571e-05/1.052, allocations: 140.5 kB / 1.122 GB, free: 9.734 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/1.052, allocations: 158.7 kB / 1.123 GB, free: 9.574 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/1.052, allocations: 29.7 kB / 1.123 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.89e-05/1.052, allocations: 135.5 kB / 1.123 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/1.053, allocations: 23.8 kB / 1.123 GB, free: 9.379 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-06/1.053, allocations: 0 / 1.123 GB, free: 9.379 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.053, allocations: 326.8 kB / 1.123 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.004e-05/1.053, allocations: 31.09 kB / 1.123 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/1.053, allocations: 102.5 kB / 1.123 GB, free: 8.891 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.212e-05/1.053, allocations: 39.92 kB / 1.123 GB, free: 8.852 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/1.053, allocations: 3.984 kB / 1.123 GB, free: 8.848 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002492/1.053, allocations: 157.3 kB / 1.123 GB, free: 8.688 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.7e-05/1.053, allocations: 59.39 kB / 1.123 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.053, allocations: 4 kB / 1.123 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/1.053, allocations: 4 kB / 1.123 GB, free: 8.609 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/1.053, allocations: 27.98 kB / 1.123 GB, free: 8.582 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/1.053, allocations: 8.25 kB / 1.123 GB, free: 8.574 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/1.054, allocations: 29.77 kB / 1.123 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/1.054, allocations: 12 kB / 1.124 GB, free: 8.535 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.0001131/1.054, allocations: 144.3 kB / 1.124 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000158/1.054, allocations: 105.4 kB / 1.124 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/1.054, allocations: 11.91 kB / 1.124 GB, free: 8.262 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/1.054, allocations: 13.84 kB / 1.124 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/1.054, allocations: 4 kB / 1.124 GB, free: 8.246 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/1.054, allocations: 0 / 1.124 GB, free: 8.246 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.054, allocations: 3.953 kB / 1.124 GB, free: 8.242 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/1.054, allocations: 190.1 kB / 1.124 GB, free: 8.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.054, allocations: 0 / 1.124 GB, free: 8.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.066e-05/1.054, allocations: 12 kB / 1.124 GB, free: 8.008 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/1.054, allocations: 1.031 kB / 1.124 GB, free: 8.008 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/1.054, allocations: 4 kB / 1.124 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/1.054, allocations: 3.984 kB / 1.124 GB, free: 8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/1.054, allocations: 10.3 kB / 1.124 GB, free: 7.996 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/1.055, allocations: 160.8 kB / 1.124 GB, free: 7.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-05/1.055, allocations: 89.03 kB / 1.124 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/1.055, allocations: 0 / 1.124 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.077e-05/1.055, allocations: 12 kB / 1.124 GB, free: 7.703 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.076e-05/1.055, allocations: 7.984 kB / 1.124 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/1.055, allocations: 7.984 kB / 1.124 GB, free: 7.688 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001009/1.055, allocations: 126.4 kB / 1.124 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/1.055, allocations: 0 / 1.124 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00024/1.055, allocations: 31.91 kB / 1.124 GB, free: 7.535 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.0005295/1.056, allocations: 0.6902 MB / 1.125 GB, free: 6.812 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002354/1.056, allocations: 195.3 kB / 1.125 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.056, allocations: 4.062 kB / 1.125 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.902e-05/1.056, allocations: 99.39 kB / 1.125 GB, free: 6.484 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/1.056, allocations: 13.38 kB / 1.125 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005818/1.057, allocations: 230.8 kB / 1.126 GB, free: 6.211 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/1.057, allocations: 0.7158 MB / 1.126 GB, free: 5.469 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.799e-05/1.057, allocations: 16.75 kB / 1.126 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.042e-05/1.057, allocations: 39.42 kB / 1.126 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of SimCode: time 2.71e-07/1.057, allocations: 0 / 1.126 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02049/1.078, allocations: 2.269 MB / 1.129 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/1.078, allocations: 156.9 kB / 1.129 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/2.747, allocations: 0 / 1.129 GB, free: 3.027 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > Buildings_maint.8.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)