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.715/2.715, allocations: 287.3 MB / 302.3 MB, free: 8.238 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.001546/0.001545, allocations: 178.9 kB / 370.8 MB, free: 10.86 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.152/2.152, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001149/0.001149, allocations: 90.8 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00065/0.0006503, allocations: 10.47 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2326, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9712/1.204, allocations: 154.7 MB / 1.129 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/1.204, allocations: 80.89 kB / 1.129 GB, free: 15.41 MB / 0.6823 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.02062/1.225, allocations: 5.694 MB / 1.135 GB, free: 30.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.743e-06/1.225, allocations: 0 / 1.135 GB, free: 30.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.765e-05/1.225, allocations: 3.844 kB / 1.135 GB, free: 30.11 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.0007039/1.226, allocations: 471.8 kB / 1.135 GB, free: 29.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/1.226, allocations: 15.67 kB / 1.135 GB, free: 29.64 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.087e-05/1.226, allocations: 44.84 kB / 1.135 GB, free: 29.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002745/1.226, allocations: 30.89 kB / 1.136 GB, free: 29.58 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/1.226, allocations: 208.2 kB / 1.136 GB, free: 29.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.174e-05/1.227, allocations: 40.81 kB / 1.136 GB, free: 29.33 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.473e-05/1.227, allocations: 11.06 kB / 1.136 GB, free: 29.33 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003594/1.227, allocations: 137 kB / 1.136 GB, free: 29.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/1.227, allocations: 0 / 1.136 GB, free: 29.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/1.227, allocations: 15.59 kB / 1.136 GB, free: 29.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/1.227, allocations: 8.047 kB / 1.136 GB, free: 29.24 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002957/1.227, allocations: 90.81 kB / 1.136 GB, free: 29.23 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/1.228, allocations: 0.6357 MB / 1.137 GB, free: 28.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/1.229, allocations: 64.08 kB / 1.137 GB, free: 28.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/1.229, allocations: 4 kB / 1.137 GB, free: 28.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002552/1.229, allocations: 143.6 kB / 1.137 GB, free: 28.51 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.675e-06/1.229, allocations: 3.938 kB / 1.137 GB, free: 28.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0005625/1.23, allocations: 241.2 kB / 1.137 GB, free: 28.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.927e-05/1.23, allocations: 140.3 kB / 1.137 GB, free: 28.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/1.23, allocations: 165.9 kB / 1.137 GB, free: 28.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/1.23, allocations: 25.7 kB / 1.137 GB, free: 28.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.184e-05/1.23, allocations: 139.6 kB / 1.137 GB, free: 27.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/1.23, allocations: 22.48 kB / 1.138 GB, free: 27.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.304e-05/1.23, allocations: 2.75 kB / 1.138 GB, free: 27.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.23, allocations: 325.7 kB / 1.138 GB, free: 27.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/1.23, allocations: 33.33 kB / 1.138 GB, free: 27.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/1.231, allocations: 111.5 kB / 1.138 GB, free: 27.47 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/1.231, allocations: 116.6 kB / 1.138 GB, free: 27.39 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/1.231, allocations: 0 / 1.138 GB, free: 27.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005212/1.231, allocations: 242.6 kB / 1.138 GB, free: 27.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.045e-05/1.231, allocations: 64.69 kB / 1.138 GB, free: 27.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.038e-06/1.231, allocations: 4.125 kB / 1.138 GB, free: 27.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/1.231, allocations: 3.969 kB / 1.138 GB, free: 27.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/1.232, allocations: 35.03 kB / 1.138 GB, free: 27.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/1.232, allocations: 3.844 kB / 1.138 GB, free: 27.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/1.232, allocations: 31.58 kB / 1.138 GB, free: 27.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/1.232, allocations: 15.67 kB / 1.138 GB, free: 27.16 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.0001786/1.232, allocations: 165.4 kB / 1.139 GB, free: 27.01 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/1.232, allocations: 11.59 kB / 1.139 GB, free: 27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.818e-05/1.232, allocations: 16.55 kB / 1.139 GB, free: 27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/1.232, allocations: 0 / 1.139 GB, free: 27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.232, allocations: 3.953 kB / 1.139 GB, free: 26.99 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/1.232, allocations: 4.047 kB / 1.139 GB, free: 26.99 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/1.233, allocations: 216.5 kB / 1.139 GB, free: 26.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.233, allocations: 3.938 kB / 1.139 GB, free: 26.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/1.233, allocations: 7.438 kB / 1.139 GB, free: 26.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/1.233, allocations: 0 / 1.139 GB, free: 26.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/1.233, allocations: 7.75 kB / 1.139 GB, free: 26.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/1.233, allocations: 3.984 kB / 1.139 GB, free: 26.76 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.233, allocations: 0 / 1.139 GB, free: 26.76 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005522/1.233, allocations: 223.5 kB / 1.139 GB, free: 26.64 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.624e-05/1.233, allocations: 88.91 kB / 1.139 GB, free: 26.53 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.099e-05/1.233, allocations: 7.531 kB / 1.139 GB, free: 26.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/1.234, allocations: 11.53 kB / 1.139 GB, free: 26.53 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.829e-05/1.234, allocations: 3.984 kB / 1.139 GB, free: 26.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/1.234, allocations: 7.406 kB / 1.139 GB, free: 26.53 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001519/1.234, allocations: 140.3 kB / 1.139 GB, free: 26.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.234, allocations: 0 / 1.139 GB, free: 26.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003374/1.234, allocations: 38.27 kB / 1.139 GB, free: 26.42 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.0008627/1.235, allocations: 0.7558 MB / 1.14 GB, free: 25.77 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004381/1.236, allocations: 217.4 kB / 1.14 GB, free: 25.63 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.236, allocations: 0 / 1.14 GB, free: 25.63 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001793/1.236, allocations: 111.5 kB / 1.14 GB, free: 25.56 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/1.236, allocations: 11.53 kB / 1.14 GB, free: 25.55 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002591/1.239, allocations: 2.422 MB / 1.143 GB, free: 23.44 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/1.239, allocations: 0.7259 MB / 1.144 GB, free: 22.72 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001275/1.239, allocations: 16.33 kB / 1.144 GB, free: 22.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.794e-05/1.239, allocations: 38.89 kB / 1.144 GB, free: 22.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.222e-06/1.239, allocations: 0 / 1.144 GB, free: 22.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02121/1.26, allocations: 2.674 MB / 1.146 GB, free: 21.46 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002347/1.261, allocations: 183.8 kB / 1.146 GB, free: 21.23 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.406/3.667, allocations: 0 / 1.146 GB, free: 21.23 MB / 0.698 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)