Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.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.DCLines,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLines",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.719/1.719, allocations: 288.2 MB / 303.2 MB, free: 8.137 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.001277/0.001277, allocations: 175.4 kB / 371.8 MB, free: 10.25 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.912/1.912, allocations: 205.4 MB / 0.6305 GB, free: 9.996 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.001064/0.001063, allocations: 90.86 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004411/0.0004411, allocations: 15.62 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2701, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8511/1.121, allocations: 189.7 MB / 1.165 GB, free: 9.574 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003724/1.122, allocations: 102.4 kB / 1.165 GB, free: 9.516 MB / 0.698 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/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.3807/1.503, allocations: 148 MB / 1.309 GB, free: 15.03 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.955e-06/1.503, allocations: 0 / 1.309 GB, free: 15.03 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0004651/1.503, allocations: 83.86 kB / 1.309 GB, free: 14.95 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01333/1.516, allocations: 3.955 MB / 1.313 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/1.516, allocations: 12.02 kB / 1.313 GB, free: 10.87 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001786/1.518, allocations: 358.2 kB / 1.314 GB, free: 10.51 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01704/1.535, allocations: 3.214 MB / 1.317 GB, free: 7.285 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007712/1.543, allocations: 2.315 MB / 1.319 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002212/1.543, allocations: 180.7 kB / 1.319 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001326/1.545, allocations: 232.7 kB / 1.319 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01331/1.558, allocations: 4.688 MB / 1.324 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-05/1.558, allocations: 0 / 1.324 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006086/1.559, allocations: 108 kB / 1.324 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001774/1.559, allocations: 144.8 kB / 1.324 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01315/1.572, allocations: 5.222 MB / 1.329 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0257/1.598, allocations: 14.38 MB / 1.343 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01136/1.609, allocations: 3.769 MB / 1.347 GB, free: 6.836 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001889/1.609, allocations: 25.3 kB / 1.347 GB, free: 6.812 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004293/1.614, allocations: 1.818 MB / 1.349 GB, free: 4.93 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=163): time 5.02e-06/1.614, allocations: 0 / 1.349 GB, free: 4.93 MB / 0.8698 GB Notification: Performance of matching and sorting (n=250): time 0.1223/1.736, allocations: 33.52 MB / 1.382 GB, free: 3.184 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004468/1.737, allocations: 0.9022 MB / 1.383 GB, free: 2.07 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003877/1.74, allocations: 1.981 MB / 1.384 GB, free: 84 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003756/1.741, allocations: 77.7 kB / 1.385 GB, free: 0 / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001463/1.742, allocations: 1.434 MB / 1.386 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009025/1.743, allocations: 0.8124 MB / 1.387 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/1.743, allocations: 48 kB / 1.387 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002022/1.744, allocations: 398.7 kB / 1.387 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004638/1.748, allocations: 1.921 MB / 1.389 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004956/1.753, allocations: 2.324 MB / 1.391 GB, free: 8.898 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005004/1.758, allocations: 2.145 MB / 1.393 GB, free: 6.703 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/1.758, allocations: 0 / 1.393 GB, free: 6.703 MB / 0.9167 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01584/1.774, allocations: 6.13 MB / 1.399 GB, free: 492 kB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001305/1.776, allocations: 2.454 MB / 1.402 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/1.776, allocations: 4 kB / 1.402 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007081/1.783, allocations: 1.793 MB / 1.404 GB, free: 11.95 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003231/1.786, allocations: 0.5929 MB / 1.404 GB, free: 11.36 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01474/1.801, allocations: 9.529 MB / 1.413 GB, free: 1.664 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00416/1.805, allocations: 411.5 kB / 1.414 GB, free: 1.262 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004725/1.805, allocations: 95.97 kB / 1.414 GB, free: 1.168 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/1.805, allocations: 4 kB / 1.414 GB, free: 1.164 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01501/1.82, allocations: 5.726 MB / 1.42 GB, free: 11.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.755e-05/1.821, allocations: 7.984 kB / 1.42 GB, free: 11.35 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005223/1.826, allocations: 1.794 MB / 1.421 GB, free: 9.547 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003327/1.829, allocations: 0.6047 MB / 1.422 GB, free: 8.941 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.486/2.315, allocations: 14.01 MB / 1.436 GB, free: 251.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00446/2.32, allocations: 411.8 kB / 1.436 GB, free: 251.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004502/2.32, allocations: 86.09 kB / 1.436 GB, free: 251.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 5 * 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: 1 {(10,48.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.002275/2.322, allocations: 0.7971 MB / 1.437 GB, free: 251.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001109/2.324, allocations: 339.4 kB / 1.437 GB, free: 251.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/2.325, allocations: 389.1 kB / 1.437 GB, free: 251.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.013e-05/2.325, allocations: 24.69 kB / 1.438 GB, free: 251.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-05/2.325, allocations: 10.38 kB / 1.438 GB, free: 251.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-05/2.325, allocations: 12.38 kB / 1.438 GB, free: 251.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005828/2.331, allocations: 3.179 MB / 1.441 GB, free: 251 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.749e-05/2.331, allocations: 3.094 kB / 1.441 GB, free: 251 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002992/2.334, allocations: 0.5166 MB / 1.441 GB, free: 251 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006999/2.341, allocations: 1.694 MB / 1.443 GB, free: 251 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004946/2.341, allocations: 54.05 kB / 1.443 GB, free: 251 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02386/2.365, allocations: 14.55 MB / 1.457 GB, free: 248.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/2.365, allocations: 3.031 kB / 1.457 GB, free: 248.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/2.381, allocations: 5.763 MB / 1.463 GB, free: 247.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002366/2.383, allocations: 0.6681 MB / 1.463 GB, free: 247.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005538/2.384, allocations: 55.17 kB / 1.463 GB, free: 247.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003174/2.387, allocations: 407 kB / 1.464 GB, free: 247.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00111/2.388, allocations: 306.5 kB / 1.464 GB, free: 247.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002158/2.388, allocations: 70.3 kB / 1.464 GB, free: 247.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002509/2.391, allocations: 1.523 MB / 1.466 GB, free: 247.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/2.391, allocations: 0 / 1.466 GB, free: 247.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00704/2.398, allocations: 1.586 MB / 1.467 GB, free: 247.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.01668/2.415, allocations: 6.415 MB / 1.473 GB, free: 246.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02227/2.437, allocations: 9.695 MB / 1.483 GB, free: 245.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/2.437, allocations: 0 / 1.483 GB, free: 245.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.007671/2.445, allocations: 3.508 MB / 1.486 GB, free: 244.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004597/2.449, allocations: 1.017 MB / 1.487 GB, free: 244.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05012/2.499, allocations: 29.35 MB / 1.516 GB, free: 229.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001832/2.501, allocations: 2.318 MB / 1.518 GB, free: 228.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003371/2.505, allocations: 0.6426 MB / 1.519 GB, free: 228.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001705/2.506, allocations: 1.33 MB / 1.52 GB, free: 227.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.132e-06/2.506, allocations: 0 / 1.52 GB, free: 227.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1393/2.646, allocations: 99.02 MB / 1.617 GB, free: 175.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001255/2.646, allocations: 228.4 kB / 1.617 GB, free: 175.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.36/9.006, allocations: 0 / 1.617 GB, free: 175.4 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLines_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLines.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)