Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.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.Lines.Examples.DCLine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.647/1.647, allocations: 288.2 MB / 303.2 MB, free: 8.191 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.001084/0.001084, allocations: 181.9 kB / 371.8 MB, free: 10.29 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.937/1.937, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.0009483/0.0009481, allocations: 98.66 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000406/0.000406, allocations: 11.16 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2836, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9029/1.187, allocations: 180.4 MB / 1.156 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/1.187, allocations: 96.12 kB / 1.156 GB, free: 2.512 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.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/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.09071/1.278, allocations: 36.95 MB / 1.192 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.243e-06/1.278, allocations: 4 kB / 1.192 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.86e-05/1.278, allocations: 24.06 kB / 1.192 GB, free: 3.688 MB / 0.7136 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.001835/1.28, allocations: 1.004 MB / 1.193 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/1.28, allocations: 12.02 kB / 1.193 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001322/1.28, allocations: 101.4 kB / 1.193 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003223/1.283, allocations: 0.6332 MB / 1.194 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/1.284, allocations: 0.5834 MB / 1.194 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/1.284, allocations: 44.25 kB / 1.194 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.463e-05/1.284, allocations: 51.73 kB / 1.194 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/1.286, allocations: 1.004 MB / 1.195 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/1.286, allocations: 7.891 kB / 1.195 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.13e-05/1.286, allocations: 28.06 kB / 1.195 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.553e-05/1.287, allocations: 40.53 kB / 1.195 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/1.289, allocations: 1.015 MB / 1.196 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004449/1.293, allocations: 3.546 MB / 1.2 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/1.295, allocations: 0.5173 MB / 1.2 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.408e-05/1.295, allocations: 3.562 kB / 1.2 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/1.295, allocations: 37.88 kB / 1.2 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=31): time 2.675e-06/1.295, allocations: 4 kB / 1.2 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43): time 0.007132/1.302, allocations: 2.282 MB / 1.203 GB, free: 9.945 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.933e-05/1.302, allocations: 136.1 kB / 1.203 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006898/1.303, allocations: 0.4957 MB / 1.203 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.944e-05/1.303, allocations: 35.83 kB / 1.203 GB, free: 9.359 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002477/1.303, allocations: 351.4 kB / 1.204 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/1.303, allocations: 153.4 kB / 1.204 GB, free: 8.988 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/1.303, allocations: 10.62 kB / 1.204 GB, free: 8.984 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001775/1.304, allocations: 373.2 kB / 1.204 GB, free: 8.637 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006522/1.304, allocations: 273.4 kB / 1.204 GB, free: 8.438 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000736/1.305, allocations: 400.8 kB / 1.205 GB, free: 8.062 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000686/1.306, allocations: 316 kB / 1.205 GB, free: 7.844 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.306, allocations: 4 kB / 1.205 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002248/1.308, allocations: 0.9676 MB / 1.206 GB, free: 7.043 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006009/1.308, allocations: 1.218 MB / 1.207 GB, free: 5.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/1.309, allocations: 4 kB / 1.207 GB, free: 5.746 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009842/1.31, allocations: 250.3 kB / 1.207 GB, free: 5.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006111/1.31, allocations: 127.3 kB / 1.207 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004706/1.315, allocations: 5.977 MB / 1.213 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007345/1.316, allocations: 54.95 kB / 1.213 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.287e-05/1.316, allocations: 23.86 kB / 1.213 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/1.316, allocations: 4 kB / 1.213 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002278/1.318, allocations: 1.069 MB / 1.214 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.318, allocations: 4 kB / 1.214 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006679/1.319, allocations: 204.3 kB / 1.215 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006365/1.319, allocations: 147.3 kB / 1.215 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006192/1.326, allocations: 8.196 MB / 1.223 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007843/1.326, allocations: 58.5 kB / 1.223 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.119e-05/1.326, allocations: 18.56 kB / 1.223 GB, free: 5.371 MB / 0.7448 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 () * Number of clocked 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.0005384/1.327, allocations: 320.3 kB / 1.223 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/1.327, allocations: 67.19 kB / 1.223 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/1.327, allocations: 85.05 kB / 1.223 GB, free: 5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/1.327, allocations: 4 kB / 1.223 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/1.327, allocations: 0 / 1.223 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/1.327, allocations: 0 / 1.223 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008432/1.328, allocations: 0.6539 MB / 1.224 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.328, allocations: 0 / 1.224 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005171/1.329, allocations: 99.84 kB / 1.224 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008568/1.329, allocations: 250.2 kB / 1.224 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/1.33, allocations: 7.188 kB / 1.224 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006599/1.336, allocations: 8.479 MB / 1.233 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.336, allocations: 128 / 1.233 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002199/1.338, allocations: 0.9522 MB / 1.233 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000348/1.339, allocations: 180 kB / 1.234 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.59e-05/1.339, allocations: 7.938 kB / 1.234 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004769/1.339, allocations: 55.62 kB / 1.234 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/1.339, allocations: 35.28 kB / 1.234 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/1.34, allocations: 26.61 kB / 1.234 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000534/1.34, allocations: 397.5 kB / 1.234 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.2e-07/1.34, allocations: 0 / 1.234 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001117/1.341, allocations: 300.3 kB / 1.234 GB, free: 9.758 MB / 0.7605 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 (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.002495/1.344, allocations: 1.521 MB / 1.236 GB, free: 8.367 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004481/1.348, allocations: 2.081 MB / 1.238 GB, free: 6.441 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.348, allocations: 128 / 1.238 GB, free: 6.441 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001679/1.35, allocations: 1.021 MB / 1.239 GB, free: 5.445 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/1.351, allocations: 211.7 kB / 1.239 GB, free: 5.289 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/1.361, allocations: 6.271 MB / 1.245 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/1.362, allocations: 0.9898 MB / 1.246 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001008/1.363, allocations: 157.4 kB / 1.246 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000422/1.364, allocations: 235.4 kB / 1.247 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of SimCode: time 4.779e-06/1.364, allocations: 0 / 1.247 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03828/1.402, allocations: 18.37 MB / 1.265 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/1.402, allocations: 207.1 kB / 1.265 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.512/3.914, allocations: 8 kB / 1.265 GB, free: 11.24 MB / 0.7917 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLine.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)