Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.LinearizedLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",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.725/1.725, allocations: 288.2 MB / 303.2 MB, free: 8.141 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.001138/0.001138, allocations: 187.5 kB / 371.8 MB, free: 10.26 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.893/1.893, 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.001004/0.001004, allocations: 91.42 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005066/0.000507, allocations: 14.98 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.227, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6798/0.9069, allocations: 166.1 MB / 1.142 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/0.9072, allocations: 99.44 kB / 1.142 GB, free: 12.7 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);. [/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);. Notification: Performance of FrontEnd - DAE generated: time 0.03726/0.9444, allocations: 17.87 MB / 1.159 GB, free: 17.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.372e-06/0.9445, allocations: 0 / 1.159 GB, free: 17.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.646e-05/0.9445, allocations: 8 kB / 1.159 GB, free: 17.4 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001048/0.9455, allocations: 0.6288 MB / 1.16 GB, free: 16.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.9456, allocations: 16.02 kB / 1.16 GB, free: 16.73 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.575e-05/0.9457, allocations: 76.17 kB / 1.16 GB, free: 16.67 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008043/0.9465, allocations: 124.1 kB / 1.16 GB, free: 16.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005788/0.9471, allocations: 333 kB / 1.16 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.815e-05/0.9472, allocations: 54.45 kB / 1.16 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.703e-05/0.9472, allocations: 29.5 kB / 1.16 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006966/0.9479, allocations: 0.5005 MB / 1.161 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.948, allocations: 0 / 1.161 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-05/0.948, allocations: 13.25 kB / 1.161 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.673e-05/0.9481, allocations: 28.3 kB / 1.161 GB, free: 15.72 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005966/0.9487, allocations: 383.2 kB / 1.161 GB, free: 15.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00243/0.9511, allocations: 2.216 MB / 1.164 GB, free: 13.26 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007177/0.9519, allocations: 281 kB / 1.164 GB, free: 13.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.9519, allocations: 3.375 kB / 1.164 GB, free: 13.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.9519, allocations: 38.8 kB / 1.164 GB, free: 13 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.373e-06/0.9519, allocations: 0 / 1.164 GB, free: 13 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.00142/0.9534, allocations: 0.5911 MB / 1.164 GB, free: 12.44 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.9534, allocations: 55.36 kB / 1.164 GB, free: 12.38 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.9536, allocations: 211 kB / 1.165 GB, free: 12.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.9537, allocations: 29.02 kB / 1.165 GB, free: 12.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.9538, allocations: 206.2 kB / 1.165 GB, free: 11.98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.894e-05/0.9539, allocations: 61.8 kB / 1.165 GB, free: 11.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.234e-05/0.9539, allocations: 7.812 kB / 1.165 GB, free: 11.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.954, allocations: 337.3 kB / 1.165 GB, free: 11.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.9542, allocations: 95.88 kB / 1.165 GB, free: 11.53 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.9545, allocations: 193.8 kB / 1.166 GB, free: 11.33 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.9548, allocations: 122.6 kB / 1.166 GB, free: 11.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.9548, allocations: 0 / 1.166 GB, free: 11.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008125/0.9556, allocations: 397.9 kB / 1.166 GB, free: 10.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003626/0.956, allocations: 0.8712 MB / 1.167 GB, free: 10 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.956, allocations: 4 kB / 1.167 GB, free: 10 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00051/0.9565, allocations: 110.8 kB / 1.167 GB, free: 9.898 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.9567, allocations: 51.91 kB / 1.167 GB, free: 9.848 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/0.9591, allocations: 2.058 MB / 1.169 GB, free: 7.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/0.9593, allocations: 35.48 kB / 1.169 GB, free: 7.719 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.9594, allocations: 8.156 kB / 1.169 GB, free: 7.711 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.233e-06/0.9594, allocations: 8 kB / 1.169 GB, free: 7.703 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007075/0.9601, allocations: 322.1 kB / 1.169 GB, free: 7.461 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.9601, allocations: 4.281 kB / 1.169 GB, free: 7.457 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000268/0.9604, allocations: 82.55 kB / 1.17 GB, free: 7.383 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.9606, allocations: 58.91 kB / 1.17 GB, free: 7.328 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/0.9624, allocations: 1.518 MB / 1.171 GB, free: 5.777 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.9626, allocations: 31.2 kB / 1.171 GB, free: 5.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.9626, allocations: 11.44 kB / 1.171 GB, free: 5.742 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002503/0.9629, allocations: 247.9 kB / 1.171 GB, free: 5.512 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.056e-05/0.9629, allocations: 26.84 kB / 1.171 GB, free: 5.488 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.704e-05/0.963, allocations: 34.61 kB / 1.171 GB, free: 5.465 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.963, allocations: 7.938 kB / 1.171 GB, free: 5.457 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.963, allocations: 0 / 1.171 GB, free: 5.457 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.963, allocations: 0 / 1.171 GB, free: 5.457 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003824/0.9634, allocations: 374.8 kB / 1.172 GB, free: 5.105 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.9634, allocations: 0 / 1.172 GB, free: 5.105 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.9636, allocations: 40.06 kB / 1.172 GB, free: 5.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003532/0.964, allocations: 104.7 kB / 1.172 GB, free: 4.973 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.964, allocations: 6.938 kB / 1.172 GB, free: 4.969 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002566/0.9666, allocations: 2.826 MB / 1.175 GB, free: 2.039 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.9666, allocations: 0 / 1.175 GB, free: 2.039 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007281/0.9673, allocations: 417.4 kB / 1.175 GB, free: 1.676 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.9674, allocations: 112 kB / 1.175 GB, free: 1.555 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.9675, allocations: 15.55 kB / 1.175 GB, free: 1.543 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.9677, allocations: 19.48 kB / 1.175 GB, free: 1.527 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.9677, allocations: 15.92 kB / 1.175 GB, free: 1.512 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.9678, allocations: 7.688 kB / 1.175 GB, free: 1.508 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001319/0.9679, allocations: 161.9 kB / 1.175 GB, free: 1.367 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9679, allocations: 0 / 1.175 GB, free: 1.367 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005907/0.9685, allocations: 173.5 kB / 1.176 GB, free: 1.211 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 (16): * Single equations (assignments): 14 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009954/0.9695, allocations: 0.9473 MB / 1.176 GB, free: 300 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001697/0.9712, allocations: 0.6684 MB / 1.177 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.9712, allocations: 3.938 kB / 1.177 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007242/0.972, allocations: 366.4 kB / 1.177 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.9723, allocations: 50.45 kB / 1.178 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/0.9752, allocations: 3.032 MB / 1.18 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.9756, allocations: 0.8202 MB / 1.181 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002126/0.9758, allocations: 58.23 kB / 1.181 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.9759, allocations: 85.28 kB / 1.181 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of SimCode: time 5.81e-07/0.9759, allocations: 4 kB / 1.181 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01841/0.9944, allocations: 6.37 MB / 1.188 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002433/0.9946, allocations: 221.4 kB / 1.188 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.781, allocations: 0 / 1.188 GB, free: 5.086 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)