Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.485/2.485, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001504/0.001504, allocations: 184.8 kB / 360.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001111/0.00111, allocations: 89.3 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.584e-05/2.576e-05, allocations: 4 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8088/0.8089, allocations: 115.3 MB / 0.9634 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3002/1.109, allocations: 179.5 MB / 1.139 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003613/1.11, allocations: 92.56 kB / 1.139 GB, free: 8.762 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18: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.0/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.0/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18: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.1905/1.3, allocations: 36.56 MB / 1.174 GB, free: 3.965 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.989e-06/1.3, allocations: 4 kB / 1.175 GB, free: 3.961 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.022e-05/1.3, allocations: 19.94 kB / 1.175 GB, free: 3.941 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002764/1.303, allocations: 0.9035 MB / 1.175 GB, free: 2.988 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/1.303, allocations: 11.97 kB / 1.175 GB, free: 2.977 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007812/1.311, allocations: 0.6271 MB / 1.176 GB, free: 2.348 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002808/1.314, allocations: 0.5831 MB / 1.177 GB, free: 1.723 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.062e-05/1.314, allocations: 20 kB / 1.177 GB, free: 1.703 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/1.314, allocations: 32 kB / 1.177 GB, free: 1.672 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002795/1.317, allocations: 0.6897 MB / 1.177 GB, free: 0.9805 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00283/1.32, allocations: 0.7934 MB / 1.178 GB, free: 152 kB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/1.32, allocations: 0 / 1.178 GB, free: 152 kB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001436/1.32, allocations: 0 / 1.178 GB, free: 152 kB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001339/1.32, allocations: 41.3 kB / 1.178 GB, free: 108 kB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008332/1.329, allocations: 3.409 MB / 1.181 GB, free: 12.41 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/1.33, allocations: 370.8 kB / 1.182 GB, free: 12.03 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004128/1.33, allocations: 182.2 kB / 1.182 GB, free: 11.85 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 4.621e-05/1.33, allocations: 7.922 kB / 1.182 GB, free: 11.84 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/1.33, allocations: 42.55 kB / 1.182 GB, free: 11.79 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=31): time 2.605e-06/1.33, allocations: 0 / 1.182 GB, free: 11.79 MB / 0.7917 GB Notification: Performance of matching and sorting (n=43): time 0.004362/1.335, allocations: 1.119 MB / 1.183 GB, free: 10.65 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/1.335, allocations: 132.5 kB / 1.183 GB, free: 10.49 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000781/1.336, allocations: 402 kB / 1.184 GB, free: 10.09 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.276e-05/1.336, allocations: 25.7 kB / 1.184 GB, free: 10.06 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000368/1.336, allocations: 363.8 kB / 1.184 GB, free: 9.699 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/1.336, allocations: 137.9 kB / 1.184 GB, free: 9.562 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/1.336, allocations: 0 / 1.184 GB, free: 9.562 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000209/1.337, allocations: 374.7 kB / 1.185 GB, free: 9.188 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004732/1.337, allocations: 181.1 kB / 1.185 GB, free: 9.012 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005922/1.338, allocations: 299.4 kB / 1.185 GB, free: 8.664 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005759/1.338, allocations: 223.6 kB / 1.185 GB, free: 8.449 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/1.338, allocations: 4 kB / 1.185 GB, free: 8.445 MB / 0.7917 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002543/1.341, allocations: 0.7248 MB / 1.186 GB, free: 7.695 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005988/1.342, allocations: 1.217 MB / 1.187 GB, free: 6.383 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/1.342, allocations: 7.984 kB / 1.187 GB, free: 6.375 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001583/1.343, allocations: 228.9 kB / 1.187 GB, free: 6.133 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/1.344, allocations: 127.8 kB / 1.187 GB, free: 6.008 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006325/1.351, allocations: 5.744 MB / 1.193 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/1.352, allocations: 51.89 kB / 1.193 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.755e-05/1.352, allocations: 16 kB / 1.193 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/1.352, allocations: 4.062 kB / 1.193 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002213/1.354, allocations: 1.014 MB / 1.194 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/1.354, allocations: 4.344 kB / 1.194 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005854/1.355, allocations: 137 kB / 1.194 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/1.356, allocations: 143.8 kB / 1.194 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00726/1.363, allocations: 7.504 MB / 1.202 GB, free: 6.152 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/1.365, allocations: 52.02 kB / 1.202 GB, free: 6.102 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.427e-05/1.365, allocations: 22.41 kB / 1.202 GB, free: 6.082 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002538/1.365, allocations: 124.8 kB / 1.202 GB, free: 5.953 MB / 0.8073 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00216/1.367, allocations: 0.6337 MB / 1.202 GB, free: 5.297 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/1.367, allocations: 59.28 kB / 1.203 GB, free: 5.238 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/1.367, allocations: 69.72 kB / 1.203 GB, free: 5.168 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/1.367, allocations: 4 kB / 1.203 GB, free: 5.164 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.368, allocations: 1.688 kB / 1.203 GB, free: 5.164 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/1.368, allocations: 0 / 1.203 GB, free: 5.164 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/1.369, allocations: 0.5679 MB / 1.203 GB, free: 4.559 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/1.369, allocations: 8 kB / 1.203 GB, free: 4.551 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009754/1.37, allocations: 99.84 kB / 1.203 GB, free: 4.453 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001388/1.371, allocations: 236.9 kB / 1.204 GB, free: 4.203 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.21e-05/1.371, allocations: 0 / 1.204 GB, free: 4.203 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009074/1.38, allocations: 7.999 MB / 1.211 GB, free: 11.52 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.727e-06/1.38, allocations: 4.875 kB / 1.211 GB, free: 11.51 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002333/1.383, allocations: 0.7341 MB / 1.212 GB, free: 10.74 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004344/1.383, allocations: 180.5 kB / 1.212 GB, free: 10.55 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/1.383, allocations: 3.953 kB / 1.212 GB, free: 10.54 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00094/1.384, allocations: 43.95 kB / 1.212 GB, free: 10.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/1.384, allocations: 43.92 kB / 1.212 GB, free: 10.46 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.008e-05/1.384, allocations: 12 kB / 1.212 GB, free: 10.45 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0005799/1.385, allocations: 302.9 kB / 1.213 GB, free: 10.15 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.71e-07/1.385, allocations: 0 / 1.213 GB, free: 10.15 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001526/1.387, allocations: 260 kB / 1.213 GB, free: 9.898 MB / 0.823 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002818/1.389, allocations: 1.306 MB / 1.214 GB, free: 8.551 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003967/1.393, allocations: 1.728 MB / 1.216 GB, free: 6.734 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.393, allocations: 0 / 1.216 GB, free: 6.734 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001569/1.395, allocations: 0.8814 MB / 1.217 GB, free: 5.793 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/1.397, allocations: 176.3 kB / 1.217 GB, free: 5.633 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/1.4, allocations: 1.008 MB / 1.218 GB, free: 4.586 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008612/1.401, allocations: 0.9863 MB / 1.219 GB, free: 3.57 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001221/1.402, allocations: 169.7 kB / 1.219 GB, free: 3.41 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004867/1.402, allocations: 231.4 kB / 1.219 GB, free: 3.184 MB / 0.823 GB Notification: Performance of SimCode: time 1.483e-06/1.402, allocations: 0 / 1.219 GB, free: 3.184 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07253/1.475, allocations: 16.36 MB / 1.235 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003145/1.475, allocations: 132.8 kB / 1.235 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.023/4.498, allocations: 0 / 1.235 GB, free: 2.902 MB / 0.8386 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLine.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)