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.666/1.666, allocations: 288.2 MB / 303.2 MB, free: 8.172 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.001119/0.001119, allocations: 178.6 kB / 371.8 MB, free: 10.28 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.022/2.022, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.001088/0.001088, allocations: 89.11 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004417/0.0004417, allocations: 10 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2751, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9485/1.224, allocations: 154.8 MB / 1.131 GB, free: 16.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/1.224, allocations: 80.94 kB / 1.131 GB, free: 16.27 MB / 0.6823 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.01432/1.238, allocations: 5.687 MB / 1.136 GB, free: 30.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/1.238, allocations: 0 / 1.136 GB, free: 30.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.799e-05/1.238, allocations: 4 kB / 1.136 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.0007177/1.239, allocations: 482.2 kB / 1.137 GB, free: 29.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/1.239, allocations: 11.67 kB / 1.137 GB, free: 29.63 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.499e-05/1.239, allocations: 38.34 kB / 1.137 GB, free: 29.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002638/1.24, allocations: 27.14 kB / 1.137 GB, free: 29.58 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/1.24, allocations: 212.8 kB / 1.137 GB, free: 29.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.856e-05/1.24, allocations: 33.23 kB / 1.137 GB, free: 29.33 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.777e-05/1.24, allocations: 10.94 kB / 1.137 GB, free: 29.33 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/1.24, allocations: 154.4 kB / 1.137 GB, free: 29.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/1.24, allocations: 0 / 1.137 GB, free: 29.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/1.24, allocations: 7.812 kB / 1.137 GB, free: 29.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-05/1.24, allocations: 4.125 kB / 1.137 GB, free: 29.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/1.241, allocations: 104 kB / 1.137 GB, free: 29.22 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009591/1.242, allocations: 0.6372 MB / 1.138 GB, free: 28.67 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/1.242, allocations: 59.16 kB / 1.138 GB, free: 28.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/1.242, allocations: 0 / 1.138 GB, free: 28.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002015/1.242, allocations: 143.2 kB / 1.138 GB, free: 28.51 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.194e-06/1.242, allocations: 4 kB / 1.138 GB, free: 28.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004488/1.243, allocations: 244.7 kB / 1.138 GB, free: 28.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.322e-05/1.243, allocations: 136.3 kB / 1.139 GB, free: 28.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/1.243, allocations: 170.9 kB / 1.139 GB, free: 28.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/1.243, allocations: 29.55 kB / 1.139 GB, free: 28.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.718e-05/1.243, allocations: 139.6 kB / 1.139 GB, free: 27.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/1.243, allocations: 27.05 kB / 1.139 GB, free: 27.88 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/1.243, allocations: 0 / 1.139 GB, free: 27.88 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001235/1.243, allocations: 324.9 kB / 1.139 GB, free: 27.56 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.765e-05/1.243, allocations: 36.98 kB / 1.139 GB, free: 27.56 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/1.243, allocations: 110.4 kB / 1.139 GB, free: 27.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/1.244, allocations: 112.4 kB / 1.139 GB, free: 27.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/1.244, allocations: 0 / 1.139 GB, free: 27.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000321/1.244, allocations: 240.1 kB / 1.14 GB, free: 27.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.087e-05/1.244, allocations: 66.58 kB / 1.14 GB, free: 27.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/1.244, allocations: 7.812 kB / 1.14 GB, free: 27.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/1.244, allocations: 3.875 kB / 1.14 GB, free: 27.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/1.244, allocations: 31.17 kB / 1.14 GB, free: 27.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/1.244, allocations: 7.859 kB / 1.14 GB, free: 27.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/1.244, allocations: 30.2 kB / 1.14 GB, free: 27.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/1.244, allocations: 3.844 kB / 1.14 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.0001484/1.244, allocations: 172.1 kB / 1.14 GB, free: 27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/1.244, allocations: 11.59 kB / 1.14 GB, free: 27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.494e-05/1.245, allocations: 16.19 kB / 1.14 GB, free: 26.99 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/1.245, allocations: 7.922 kB / 1.14 GB, free: 26.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.245, allocations: 0 / 1.14 GB, free: 26.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/1.245, allocations: 3.953 kB / 1.14 GB, free: 26.98 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/1.245, allocations: 207.7 kB / 1.14 GB, free: 26.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/1.245, allocations: 0 / 1.14 GB, free: 26.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.123e-05/1.245, allocations: 11.67 kB / 1.14 GB, free: 26.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/1.245, allocations: 0 / 1.14 GB, free: 26.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/1.245, allocations: 7.812 kB / 1.14 GB, free: 26.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/1.245, allocations: 320 / 1.14 GB, free: 26.77 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.245, allocations: 0 / 1.14 GB, free: 26.77 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/1.245, allocations: 222.8 kB / 1.14 GB, free: 26.64 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/1.245, allocations: 88.8 kB / 1.141 GB, free: 26.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/1.245, allocations: 11.25 kB / 1.141 GB, free: 26.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.417e-05/1.245, allocations: 15.48 kB / 1.141 GB, free: 26.53 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/1.246, allocations: 7.859 kB / 1.141 GB, free: 26.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/1.246, allocations: 3.438 kB / 1.141 GB, free: 26.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001288/1.246, allocations: 138.2 kB / 1.141 GB, free: 26.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.246, allocations: 0 / 1.141 GB, free: 26.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002693/1.246, allocations: 37.56 kB / 1.141 GB, free: 26.43 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.0006603/1.247, allocations: 0.7548 MB / 1.141 GB, free: 25.77 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003008/1.247, allocations: 224.1 kB / 1.142 GB, free: 25.62 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.247, allocations: 0 / 1.142 GB, free: 25.62 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/1.247, allocations: 108.3 kB / 1.142 GB, free: 25.55 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/1.247, allocations: 17.11 kB / 1.142 GB, free: 25.55 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/1.249, allocations: 2.424 MB / 1.144 GB, free: 23.44 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/1.25, allocations: 0.7216 MB / 1.145 GB, free: 22.72 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.452e-05/1.25, allocations: 20.34 kB / 1.145 GB, free: 22.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.202e-05/1.25, allocations: 38.89 kB / 1.145 GB, free: 22.7 MB / 0.698 GB Notification: Performance of SimCode: time 7.52e-07/1.25, allocations: 0 / 1.145 GB, free: 22.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01522/1.265, allocations: 2.669 MB / 1.148 GB, free: 21.48 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/1.265, allocations: 198.3 kB / 1.148 GB, free: 21.23 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/3.023, allocations: 0 / 1.148 GB, free: 21.23 MB / 0.698 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)