Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_8_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.903/1.903, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.001211/0.001211, allocations: 179.4 kB / 371.6 MB, free: 3.332 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.842/1.842, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009832/0.0009825, allocations: 89.81 kB / 0.745 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.496e-05/4.5e-05, allocations: 0 / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2961, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.006/1.302, allocations: 155.7 MB / 1.132 GB, free: 32.92 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/1.302, allocations: 76.77 kB / 1.132 GB, free: 32.89 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.01264/1.315, allocations: 5.624 MB / 1.138 GB, free: 29.94 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.613e-06/1.315, allocations: 5.125 kB / 1.138 GB, free: 29.94 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.456e-05/1.315, allocations: 4 kB / 1.138 GB, free: 29.93 MB / 0.7448 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.0005234/1.316, allocations: 454.8 kB / 1.138 GB, free: 29.46 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/1.316, allocations: 12.03 kB / 1.138 GB, free: 29.45 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.434e-05/1.316, allocations: 47.86 kB / 1.138 GB, free: 29.4 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002154/1.316, allocations: 25.62 kB / 1.138 GB, free: 29.38 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/1.316, allocations: 210.5 kB / 1.138 GB, free: 29.16 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.519e-05/1.316, allocations: 33.33 kB / 1.138 GB, free: 29.12 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/1.316, allocations: 15.25 kB / 1.138 GB, free: 29.11 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/1.317, allocations: 145.2 kB / 1.138 GB, free: 29 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/1.317, allocations: 0 / 1.138 GB, free: 29 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/1.317, allocations: 4 kB / 1.138 GB, free: 29 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/1.317, allocations: 7.484 kB / 1.138 GB, free: 28.99 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/1.317, allocations: 84.52 kB / 1.139 GB, free: 28.94 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007794/1.318, allocations: 0.636 MB / 1.139 GB, free: 28.37 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/1.318, allocations: 50.72 kB / 1.139 GB, free: 28.32 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.447e-05/1.318, allocations: 26.62 kB / 1.139 GB, free: 28.3 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/1.318, allocations: 0 / 1.139 GB, free: 28.3 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/1.318, allocations: 140.7 kB / 1.139 GB, free: 28.16 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/1.318, allocations: 0 / 1.139 GB, free: 28.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002552/1.318, allocations: 123 kB / 1.139 GB, free: 28.05 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/1.318, allocations: 141.1 kB / 1.14 GB, free: 27.89 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/1.319, allocations: 170.8 kB / 1.14 GB, free: 27.75 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/1.319, allocations: 29.7 kB / 1.14 GB, free: 27.71 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.926e-05/1.319, allocations: 135.8 kB / 1.14 GB, free: 27.59 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/1.319, allocations: 18.28 kB / 1.14 GB, free: 27.58 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-06/1.319, allocations: 3.5 kB / 1.14 GB, free: 27.58 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.093e-05/1.319, allocations: 324.5 kB / 1.14 GB, free: 27.27 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.576e-05/1.319, allocations: 30.88 kB / 1.14 GB, free: 27.25 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.911e-05/1.319, allocations: 110 kB / 1.14 GB, free: 27.13 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.532e-05/1.319, allocations: 96.22 kB / 1.14 GB, free: 27.04 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.319, allocations: 0 / 1.14 GB, free: 27.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002688/1.319, allocations: 241.9 kB / 1.141 GB, free: 26.83 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.584e-05/1.319, allocations: 58.78 kB / 1.141 GB, free: 26.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.319, allocations: 4 kB / 1.141 GB, free: 26.76 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/1.319, allocations: 4 kB / 1.141 GB, free: 26.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/1.32, allocations: 31.45 kB / 1.141 GB, free: 26.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/1.32, allocations: 7.953 kB / 1.141 GB, free: 26.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/1.32, allocations: 27.12 kB / 1.141 GB, free: 26.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/1.32, allocations: 9.641 kB / 1.141 GB, free: 26.69 MB / 0.7448 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 9.267e-05/1.32, allocations: 155.6 kB / 1.141 GB, free: 26.54 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/1.32, allocations: 19.8 kB / 1.141 GB, free: 26.52 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.55e-05/1.32, allocations: 16.81 kB / 1.141 GB, free: 26.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/1.32, allocations: 0 / 1.141 GB, free: 26.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/1.32, allocations: 0 / 1.141 GB, free: 26.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.32, allocations: 4.703 kB / 1.141 GB, free: 26.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/1.32, allocations: 213 kB / 1.141 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/1.32, allocations: 1.312 kB / 1.141 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.522e-05/1.32, allocations: 11.42 kB / 1.141 GB, free: 26.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/1.32, allocations: 4 kB / 1.141 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/1.32, allocations: 4 kB / 1.141 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/1.32, allocations: 0 / 1.141 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.32, allocations: 0 / 1.141 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/1.32, allocations: 203.2 kB / 1.141 GB, free: 26.09 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/1.321, allocations: 88.95 kB / 1.142 GB, free: 25.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/1.321, allocations: 4 kB / 1.142 GB, free: 25.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.04e-05/1.321, allocations: 19.16 kB / 1.142 GB, free: 25.97 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/1.321, allocations: 8.719 kB / 1.142 GB, free: 25.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/1.321, allocations: 4 kB / 1.142 GB, free: 25.96 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.438e-05/1.321, allocations: 133.2 kB / 1.142 GB, free: 25.86 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.42e-07/1.321, allocations: 0 / 1.142 GB, free: 25.86 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000221/1.321, allocations: 31.81 kB / 1.142 GB, free: 25.83 MB / 0.7448 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.0004801/1.322, allocations: 0.7382 MB / 1.142 GB, free: 25.11 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002205/1.322, allocations: 205.3 kB / 1.143 GB, free: 24.91 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.322, allocations: 3.938 kB / 1.143 GB, free: 24.91 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.78e-05/1.322, allocations: 95.41 kB / 1.143 GB, free: 24.82 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/1.322, allocations: 23.75 kB / 1.143 GB, free: 24.81 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005581/1.323, allocations: 241.6 kB / 1.143 GB, free: 24.59 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/1.323, allocations: 0.7129 MB / 1.144 GB, free: 23.88 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.056e-05/1.323, allocations: 23.81 kB / 1.144 GB, free: 23.86 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.477e-05/1.323, allocations: 37.39 kB / 1.144 GB, free: 23.85 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/1.323, allocations: 0 / 1.144 GB, free: 23.85 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/1.339, allocations: 2.652 MB / 1.146 GB, free: 22.35 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/1.339, allocations: 164.5 kB / 1.146 GB, free: 22.12 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.845/3.184, allocations: 0 / 1.146 GB, free: 22.12 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)