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.664/1.664, allocations: 285.4 MB / 298 MB, free: 5.938 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.001286/0.001287, allocations: 180.8 kB / 366.4 MB, free: 2.059 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.846/1.846, allocations: 205.1 MB / 0.6248 GB, free: 7.703 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.001007/0.001007, allocations: 96.55 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.695e-05/4.698e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9032/0.9032, allocations: 115.3 MB / 0.971 GB, free: 77.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2295/1.133, allocations: 154.8 MB / 1.122 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003451/1.133, allocations: 75.2 kB / 1.122 GB, free: 12.9 MB / 0.7292 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.01496/1.148, allocations: 5.636 MB / 1.128 GB, free: 7.273 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.783e-06/1.148, allocations: 0 / 1.128 GB, free: 7.273 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.517e-05/1.148, allocations: 4 kB / 1.128 GB, free: 7.27 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.0008277/1.149, allocations: 459.8 kB / 1.128 GB, free: 6.762 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 7.128e-05/1.149, allocations: 8.031 kB / 1.128 GB, free: 6.754 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.541e-05/1.149, allocations: 45.44 kB / 1.128 GB, free: 6.703 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00028/1.15, allocations: 27.8 kB / 1.128 GB, free: 6.676 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003697/1.15, allocations: 212.3 kB / 1.128 GB, free: 6.43 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.052e-05/1.15, allocations: 38.77 kB / 1.128 GB, free: 6.387 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/1.15, allocations: 12 kB / 1.128 GB, free: 6.375 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/1.15, allocations: 141.8 kB / 1.129 GB, free: 6.227 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/1.15, allocations: 0 / 1.129 GB, free: 6.227 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/1.15, allocations: 4 kB / 1.129 GB, free: 6.223 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.634e-05/1.151, allocations: 14.77 kB / 1.129 GB, free: 6.211 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/1.151, allocations: 76.44 kB / 1.129 GB, free: 6.137 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/1.152, allocations: 0.6426 MB / 1.129 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/1.152, allocations: 57.78 kB / 1.129 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.644e-05/1.152, allocations: 20.98 kB / 1.129 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/1.152, allocations: 8 kB / 1.129 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002055/1.152, allocations: 126.8 kB / 1.13 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/1.152, allocations: 0 / 1.13 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003488/1.153, allocations: 127.3 kB / 1.13 GB, free: 5.055 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/1.153, allocations: 140.4 kB / 1.13 GB, free: 4.887 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/1.153, allocations: 165.4 kB / 1.13 GB, free: 4.719 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/1.153, allocations: 25.7 kB / 1.13 GB, free: 4.688 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/1.153, allocations: 147.8 kB / 1.13 GB, free: 4.535 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/1.153, allocations: 11.81 kB / 1.13 GB, free: 4.523 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.204e-06/1.153, allocations: 4 kB / 1.13 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001723/1.154, allocations: 326.8 kB / 1.13 GB, free: 4.191 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.243e-05/1.154, allocations: 31.89 kB / 1.13 GB, free: 4.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/1.154, allocations: 101.5 kB / 1.131 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/1.154, allocations: 107.2 kB / 1.131 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/1.154, allocations: 0 / 1.131 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000337/1.154, allocations: 220.7 kB / 1.131 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.284e-05/1.154, allocations: 67.39 kB / 1.131 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/1.154, allocations: 4.312 kB / 1.131 GB, free: 3.594 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/1.154, allocations: 8 kB / 1.131 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/1.155, allocations: 31.92 kB / 1.131 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.982e-05/1.155, allocations: 8.703 kB / 1.131 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/1.155, allocations: 31.83 kB / 1.131 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/1.155, allocations: 8 kB / 1.131 GB, free: 3.512 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.0001766/1.155, allocations: 146.6 kB / 1.131 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/1.155, allocations: 19.81 kB / 1.131 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.281e-05/1.155, allocations: 17.52 kB / 1.131 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/1.155, allocations: 0 / 1.131 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.155, allocations: 0 / 1.131 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/1.155, allocations: 3.953 kB / 1.131 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/1.155, allocations: 215.5 kB / 1.131 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.155, allocations: 0 / 1.131 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.766e-05/1.156, allocations: 8 kB / 1.131 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/1.156, allocations: 4 kB / 1.131 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/1.156, allocations: 7.984 kB / 1.131 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.156, allocations: 4 kB / 1.131 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/1.156, allocations: 0 / 1.131 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004137/1.156, allocations: 198.6 kB / 1.132 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/1.156, allocations: 85.05 kB / 1.132 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/1.156, allocations: 7.938 kB / 1.132 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/1.156, allocations: 15.98 kB / 1.132 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/1.156, allocations: 12.05 kB / 1.132 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/1.156, allocations: 4 kB / 1.132 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001555/1.157, allocations: 132.3 kB / 1.132 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.157, allocations: 0 / 1.132 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002743/1.157, allocations: 31.66 kB / 1.132 GB, free: 2.52 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.0009407/1.158, allocations: 0.7391 MB / 1.133 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003566/1.158, allocations: 206.7 kB / 1.133 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.158, allocations: 7.938 kB / 1.133 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/1.158, allocations: 95.34 kB / 1.133 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/1.159, allocations: 21.53 kB / 1.133 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008263/1.159, allocations: 230.4 kB / 1.133 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005144/1.16, allocations: 0.7238 MB / 1.134 GB, free: 384 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.63e-05/1.16, allocations: 16.77 kB / 1.134 GB, free: 368 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.116e-05/1.16, allocations: 39.42 kB / 1.134 GB, free: 328 kB / 0.7292 GB Notification: Performance of SimCode: time 3.3e-07/1.16, allocations: 0 / 1.134 GB, free: 328 kB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01422/1.174, allocations: 2.656 MB / 1.137 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/1.175, allocations: 165.7 kB / 1.137 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.809, allocations: 0 / 1.137 GB, free: 13.67 MB / 0.7448 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)