Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.818/1.818, allocations: 289.9 MB / 297.4 MB, free: 6.316 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.001187/0.001187, allocations: 165 kB / 366.7 MB, free: 1.652 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.961/1.961, allocations: 205.2 MB / 0.626 GB, free: 7.191 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.0008793/0.0008795, allocations: 98.06 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.37e-05/2.396e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6991/0.6991, allocations: 116.3 MB / 0.9733 GB, free: 76.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2229/0.922, allocations: 166.4 MB / 1.136 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.9223, allocations: 92.78 kB / 1.136 GB, free: 15.62 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);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.0444/0.9668, allocations: 17.67 MB / 1.153 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9668, allocations: 0 / 1.153 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.119e-05/0.9668, allocations: 8 kB / 1.153 GB, free: 13.82 MB / 0.7605 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.001069/0.9679, allocations: 0.6153 MB / 1.154 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.9679, allocations: 12.03 kB / 1.154 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008173/0.9688, allocations: 120.1 kB / 1.154 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005762/0.9694, allocations: 324.2 kB / 1.154 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.957e-05/0.9694, allocations: 42.48 kB / 1.154 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.771e-05/0.9695, allocations: 22.31 kB / 1.154 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005296/0.97, allocations: 321.4 kB / 1.155 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006672/0.9707, allocations: 428.9 kB / 1.155 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.9707, allocations: 3.984 kB / 1.155 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.616e-05/0.9708, allocations: 7.938 kB / 1.155 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.239e-05/0.9708, allocations: 24.77 kB / 1.155 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002574/0.9734, allocations: 2.124 MB / 1.157 GB, free: 9.477 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007143/0.9741, allocations: 253.2 kB / 1.157 GB, free: 9.223 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/0.9745, allocations: 137.1 kB / 1.157 GB, free: 9.086 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.9745, allocations: 3.953 kB / 1.157 GB, free: 9.082 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.818e-05/0.9746, allocations: 42.56 kB / 1.158 GB, free: 9.031 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=19): time 2.625e-06/0.9746, allocations: 0 / 1.158 GB, free: 9.031 MB / 0.7605 GB Notification: Performance of matching and sorting (n=19): time 0.0006871/0.9753, allocations: 235 kB / 1.158 GB, free: 8.789 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.9753, allocations: 59.41 kB / 1.158 GB, free: 8.719 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.9755, allocations: 178 kB / 1.158 GB, free: 8.539 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.9756, allocations: 25.7 kB / 1.158 GB, free: 8.508 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.9757, allocations: 212 kB / 1.158 GB, free: 8.297 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.382e-05/0.9758, allocations: 63.05 kB / 1.158 GB, free: 8.234 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.339e-05/0.9758, allocations: 0 / 1.158 GB, free: 8.234 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.976, allocations: 334.8 kB / 1.159 GB, free: 7.898 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.9761, allocations: 67.98 kB / 1.159 GB, free: 7.832 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.9763, allocations: 160.1 kB / 1.159 GB, free: 7.637 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.9765, allocations: 102.3 kB / 1.159 GB, free: 7.539 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.9765, allocations: 0 / 1.159 GB, free: 7.539 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006149/0.9771, allocations: 311 kB / 1.159 GB, free: 7.223 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004392/0.9776, allocations: 0.9637 MB / 1.16 GB, free: 6.188 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.9776, allocations: 4 kB / 1.16 GB, free: 6.184 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004293/0.978, allocations: 101.6 kB / 1.16 GB, free: 6.078 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.9783, allocations: 51.91 kB / 1.16 GB, free: 6.027 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/0.9804, allocations: 1.962 MB / 1.162 GB, free: 3.922 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/0.9807, allocations: 31.67 kB / 1.162 GB, free: 3.891 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.9808, allocations: 12 kB / 1.162 GB, free: 3.879 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.9808, allocations: 4 kB / 1.162 GB, free: 3.875 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005064/0.9813, allocations: 246.5 kB / 1.162 GB, free: 3.633 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.9813, allocations: 4.141 kB / 1.162 GB, free: 3.629 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002581/0.9816, allocations: 81.09 kB / 1.163 GB, free: 3.547 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.9818, allocations: 59.86 kB / 1.163 GB, free: 3.488 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.9835, allocations: 1.421 MB / 1.164 GB, free: 1.961 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.9838, allocations: 23.83 kB / 1.164 GB, free: 1.938 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.9838, allocations: 12 kB / 1.164 GB, free: 1.926 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.000121/0.9839, allocations: 106.3 kB / 1.164 GB, free: 1.816 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000535/0.9845, allocations: 262.9 kB / 1.164 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.295e-05/0.9845, allocations: 15.81 kB / 1.164 GB, free: 1.531 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.125e-05/0.9846, allocations: 25.95 kB / 1.164 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.9846, allocations: 4 kB / 1.164 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.9846, allocations: 0 / 1.164 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.9846, allocations: 0 / 1.164 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.9858, allocations: 0.7221 MB / 1.165 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.9858, allocations: 4 kB / 1.165 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.986, allocations: 31.92 kB / 1.165 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003736/0.9863, allocations: 109.6 kB / 1.165 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.9864, allocations: 4 kB / 1.165 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002662/0.989, allocations: 2.672 MB / 1.168 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.9891, allocations: 4.031 kB / 1.168 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006461/0.9897, allocations: 388.3 kB / 1.168 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.9899, allocations: 112.8 kB / 1.168 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.9899, allocations: 4 kB / 1.168 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.9901, allocations: 11.98 kB / 1.168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.924e-05/0.9902, allocations: 27.92 kB / 1.168 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.9902, allocations: 4 kB / 1.168 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001196/0.9903, allocations: 139 kB / 1.169 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9903, allocations: 0 / 1.169 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006306/0.991, allocations: 163.3 kB / 1.169 GB, free: 12.77 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * 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.0009498/0.9919, allocations: 1.059 MB / 1.17 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001554/0.9935, allocations: 0.573 MB / 1.17 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.9935, allocations: 0 / 1.17 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000684/0.9942, allocations: 336.9 kB / 1.171 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.9946, allocations: 44.36 kB / 1.171 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.9957, allocations: 473.2 kB / 1.171 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004656/0.9961, allocations: 0.8146 MB / 1.172 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002513/0.9964, allocations: 67.27 kB / 1.172 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.9965, allocations: 83.41 kB / 1.172 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of SimCode: time 6.91e-07/0.9965, allocations: 0 / 1.172 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/1.023, allocations: 5.933 MB / 1.178 GB, free: 3.379 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/1.023, allocations: 141.3 kB / 1.178 GB, free: 3.188 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.947/2.97, allocations: 6.625 kB / 1.178 GB, free: 3.184 MB / 0.7761 GB (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)