Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.623/2.623, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001986/0.001986, allocations: 172.9 kB / 360.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.3 MB / 0.6191 GB, free: 12.23 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.001121/0.00112, allocations: 99.05 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.095e-05/3.097e-05, allocations: 4 kB / 0.8508 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.814/0.814, allocations: 115.3 MB / 0.9634 GB, free: 78.53 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2649/1.079, allocations: 153.9 MB / 1.114 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/1.079, allocations: 75.97 kB / 1.114 GB, free: 2.402 MB / 0.7136 GB [/home/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.02216/1.102, allocations: 5.601 MB / 1.119 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.152e-06/1.102, allocations: 0 / 1.119 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.879e-05/1.102, allocations: 12.44 kB / 1.119 GB, free: 12.81 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.000757/1.102, allocations: 460 kB / 1.12 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/1.103, allocations: 8.969 kB / 1.12 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003209/1.103, allocations: 27.8 kB / 1.12 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003591/1.103, allocations: 217.5 kB / 1.12 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.283e-05/1.103, allocations: 33.89 kB / 1.12 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/1.103, allocations: 9.031 kB / 1.12 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002533/1.104, allocations: 64.17 kB / 1.12 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/1.104, allocations: 131.9 kB / 1.12 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/1.104, allocations: 3.984 kB / 1.12 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/1.104, allocations: 0 / 1.12 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.505e-05/1.104, allocations: 8.141 kB / 1.12 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/1.105, allocations: 0.599 MB / 1.121 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/1.106, allocations: 54.5 kB / 1.121 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.86e-05/1.106, allocations: 23.05 kB / 1.121 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/1.106, allocations: 7.984 kB / 1.121 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002439/1.106, allocations: 135.7 kB / 1.121 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 3.166e-06/1.106, allocations: 0 / 1.121 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003445/1.106, allocations: 85.59 kB / 1.121 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/1.107, allocations: 132.5 kB / 1.121 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/1.107, allocations: 162.7 kB / 1.121 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/1.107, allocations: 25.7 kB / 1.121 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/1.107, allocations: 139.5 kB / 1.122 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/1.107, allocations: 15.81 kB / 1.122 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.084e-05/1.107, allocations: 0 / 1.122 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001491/1.107, allocations: 326.8 kB / 1.122 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.316e-05/1.107, allocations: 35.92 kB / 1.122 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/1.107, allocations: 97.34 kB / 1.122 GB, free: 9.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/1.108, allocations: 43.92 kB / 1.122 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/1.108, allocations: 0 / 1.122 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000432/1.108, allocations: 155.2 kB / 1.122 GB, free: 9.57 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.558e-05/1.108, allocations: 63.34 kB / 1.122 GB, free: 9.496 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/1.108, allocations: 4 kB / 1.122 GB, free: 9.492 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/1.108, allocations: 8.312 kB / 1.122 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/1.108, allocations: 27.92 kB / 1.122 GB, free: 9.457 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/1.108, allocations: 4 kB / 1.122 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/1.109, allocations: 31.78 kB / 1.122 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/1.109, allocations: 12 kB / 1.122 GB, free: 9.41 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.000163/1.109, allocations: 146.3 kB / 1.122 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000291/1.109, allocations: 109.5 kB / 1.123 GB, free: 9.141 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/1.109, allocations: 7.906 kB / 1.123 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.411e-05/1.109, allocations: 17.83 kB / 1.123 GB, free: 9.117 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/1.109, allocations: 4 kB / 1.123 GB, free: 9.113 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/1.109, allocations: 3.953 kB / 1.123 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.109, allocations: 2.625 kB / 1.123 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/1.11, allocations: 178.2 kB / 1.123 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/1.11, allocations: 0 / 1.123 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/1.11, allocations: 15.98 kB / 1.123 GB, free: 8.883 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/1.11, allocations: 4 kB / 1.123 GB, free: 8.879 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/1.11, allocations: 5.5 kB / 1.123 GB, free: 8.875 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/1.11, allocations: 0 / 1.123 GB, free: 8.875 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/1.11, allocations: 0 / 1.123 GB, free: 8.875 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004105/1.11, allocations: 163.9 kB / 1.123 GB, free: 8.699 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/1.11, allocations: 85.05 kB / 1.123 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/1.111, allocations: 4 kB / 1.123 GB, free: 8.594 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/1.111, allocations: 11.98 kB / 1.123 GB, free: 8.582 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.08e-05/1.111, allocations: 16.05 kB / 1.123 GB, free: 8.566 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/1.111, allocations: 0 / 1.123 GB, free: 8.566 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001518/1.111, allocations: 124.8 kB / 1.123 GB, free: 8.445 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.31e-07/1.111, allocations: 0 / 1.123 GB, free: 8.445 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003907/1.111, allocations: 27.91 kB / 1.123 GB, free: 8.418 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.0007934/1.112, allocations: 0.7011 MB / 1.124 GB, free: 7.688 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003873/1.113, allocations: 194.7 kB / 1.124 GB, free: 7.473 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.113, allocations: 0 / 1.124 GB, free: 7.473 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/1.113, allocations: 99.34 kB / 1.124 GB, free: 7.363 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/1.113, allocations: 22.33 kB / 1.124 GB, free: 7.344 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009318/1.114, allocations: 231.5 kB / 1.124 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/1.114, allocations: 0.7158 MB / 1.125 GB, free: 6.34 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001471/1.115, allocations: 20.77 kB / 1.125 GB, free: 6.316 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.322e-05/1.115, allocations: 35.42 kB / 1.125 GB, free: 6.281 MB / 0.7292 GB Notification: Performance of SimCode: time 1.102e-06/1.115, allocations: 1.406 kB / 1.125 GB, free: 6.281 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0424/1.157, allocations: 2.269 MB / 1.127 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002961/1.158, allocations: 148.9 kB / 1.128 GB, free: 3.898 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.356/3.514, allocations: 0 / 1.128 GB, free: 3.898 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)