Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad",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.769/1.769, allocations: 288.2 MB / 303.2 MB, free: 8.152 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.001691/0.001691, allocations: 191.1 kB / 371.8 MB, free: 10.24 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.896/1.896, allocations: 205.4 MB / 0.6305 GB, free: 9.938 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.0009522/0.0009521, allocations: 98.84 kB / 0.7439 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004068/0.0004068, allocations: 15.23 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2337, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6833/0.917, allocations: 165.9 MB / 1.141 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.9173, allocations: 97.16 kB / 1.142 GB, free: 13.05 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);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.04156/0.9589, allocations: 19.49 MB / 1.161 GB, free: 16.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9589, allocations: 0 / 1.161 GB, free: 16.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.359e-05/0.9589, allocations: 16.12 kB / 1.161 GB, free: 16.45 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.00122/0.9602, allocations: 0.6193 MB / 1.161 GB, free: 15.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.9602, allocations: 12.02 kB / 1.161 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001714/0.9604, allocations: 73.25 kB / 1.161 GB, free: 15.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008266/0.9612, allocations: 99.55 kB / 1.161 GB, free: 15.62 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005518/0.9618, allocations: 299.1 kB / 1.162 GB, free: 15.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.9618, allocations: 19.34 kB / 1.162 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.679e-05/0.9619, allocations: 41.92 kB / 1.162 GB, free: 15.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009198/0.9628, allocations: 477.6 kB / 1.162 GB, free: 14.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.9629, allocations: 3.938 kB / 1.162 GB, free: 14.89 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/0.9629, allocations: 9.938 kB / 1.162 GB, free: 14.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-05/0.963, allocations: 39.69 kB / 1.162 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007752/0.9638, allocations: 380.9 kB / 1.163 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002584/0.9664, allocations: 2.062 MB / 1.165 GB, free: 12.51 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000613/0.967, allocations: 224.8 kB / 1.165 GB, free: 12.33 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.967, allocations: 4 kB / 1.165 GB, free: 12.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.9671, allocations: 34.31 kB / 1.165 GB, free: 12.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 3.626e-06/0.9671, allocations: 0 / 1.165 GB, free: 12.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.001126/0.9682, allocations: 471.8 kB / 1.165 GB, free: 11.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.9683, allocations: 55.39 kB / 1.165 GB, free: 11.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.9685, allocations: 229 kB / 1.166 GB, free: 11.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.9686, allocations: 32.58 kB / 1.166 GB, free: 11.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.9687, allocations: 217.6 kB / 1.166 GB, free: 11.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.469e-05/0.9688, allocations: 65.09 kB / 1.166 GB, free: 11.32 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.206e-05/0.9688, allocations: 3 kB / 1.166 GB, free: 11.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.9689, allocations: 336.6 kB / 1.166 GB, free: 11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.9692, allocations: 105.1 kB / 1.166 GB, free: 10.92 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.9695, allocations: 219.7 kB / 1.167 GB, free: 10.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003154/0.9699, allocations: 132.4 kB / 1.167 GB, free: 10.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.9699, allocations: 0 / 1.167 GB, free: 10.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007905/0.9707, allocations: 385.3 kB / 1.167 GB, free: 10.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006151/0.9713, allocations: 1.305 MB / 1.168 GB, free: 8.887 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.9713, allocations: 4 kB / 1.168 GB, free: 8.883 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002098/0.9715, allocations: 36.47 kB / 1.168 GB, free: 8.848 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003313/0.9719, allocations: 75.83 kB / 1.168 GB, free: 8.777 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004244/0.9723, allocations: 0.5465 MB / 1.169 GB, free: 8.215 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003185/0.9727, allocations: 50.52 kB / 1.169 GB, free: 8.172 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.9727, allocations: 12 kB / 1.169 GB, free: 8.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.9727, allocations: 9.188 kB / 1.169 GB, free: 8.152 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006298/0.9734, allocations: 312.2 kB / 1.169 GB, free: 7.914 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.9734, allocations: 4 kB / 1.169 GB, free: 7.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.9734, allocations: 8 kB / 1.169 GB, free: 7.902 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/0.9737, allocations: 75.33 kB / 1.169 GB, free: 7.832 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.9737, allocations: 4 kB / 1.169 GB, free: 7.828 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.974, allocations: 51.23 kB / 1.169 GB, free: 7.781 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.974, allocations: 15.5 kB / 1.169 GB, free: 7.77 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002514/0.9743, allocations: 238.8 kB / 1.17 GB, free: 7.547 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.919e-05/0.9744, allocations: 27.67 kB / 1.17 GB, free: 7.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.182e-05/0.9744, allocations: 34.23 kB / 1.17 GB, free: 7.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.9744, allocations: 0 / 1.17 GB, free: 7.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.9745, allocations: 0 / 1.17 GB, free: 7.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.9745, allocations: 3.984 kB / 1.17 GB, free: 7.496 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004571/0.9749, allocations: 358.2 kB / 1.17 GB, free: 7.156 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.9749, allocations: 0 / 1.17 GB, free: 7.156 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/0.9752, allocations: 43.53 kB / 1.17 GB, free: 7.117 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001101/0.9753, allocations: 28.3 kB / 1.17 GB, free: 7.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.9753, allocations: 0 / 1.17 GB, free: 7.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.9765, allocations: 1.329 MB / 1.171 GB, free: 5.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.9765, allocations: 256 / 1.171 GB, free: 5.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007009/0.9772, allocations: 378.1 kB / 1.172 GB, free: 5.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.9774, allocations: 119.4 kB / 1.172 GB, free: 5.211 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.9774, allocations: 7.562 kB / 1.172 GB, free: 5.207 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.9776, allocations: 23.66 kB / 1.172 GB, free: 5.188 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.939e-05/0.9777, allocations: 15.92 kB / 1.172 GB, free: 5.172 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.9777, allocations: 7.375 kB / 1.172 GB, free: 5.168 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000227/0.978, allocations: 182.7 kB / 1.172 GB, free: 5.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.91e-07/0.978, allocations: 0 / 1.172 GB, free: 5.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006258/0.9786, allocations: 141.6 kB / 1.172 GB, free: 4.891 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001048/0.9797, allocations: 0.9177 MB / 1.173 GB, free: 4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001047/0.9807, allocations: 430.3 kB / 1.174 GB, free: 3.656 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.9807, allocations: 0 / 1.174 GB, free: 3.656 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004116/0.9812, allocations: 239.1 kB / 1.174 GB, free: 3.438 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.9816, allocations: 56.36 kB / 1.174 GB, free: 3.395 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003809/0.9854, allocations: 3.8 MB / 1.178 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/0.9859, allocations: 0.8092 MB / 1.178 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003027/0.9863, allocations: 78.2 kB / 1.178 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.9864, allocations: 84.84 kB / 1.179 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of SimCode: time 1.222e-06/0.9864, allocations: 0 / 1.179 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01961/1.006, allocations: 5.515 MB / 1.184 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/1.006, allocations: 227.2 kB / 1.184 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.793, allocations: 0 / 1.184 GB, free: 9.215 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)