Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.DCLinesLinearized,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",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.729/1.729, allocations: 288.2 MB / 303.2 MB, free: 8.133 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.001429/0.001429, allocations: 195.3 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 2.006/2.006, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0008908/0.0008912, allocations: 87.97 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004118/0.0004117, allocations: 11.56 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2737, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.825/1.099, allocations: 189.8 MB / 1.165 GB, free: 9.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/1.099, allocations: 93.5 kB / 1.165 GB, free: 9.449 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.3905/1.49, allocations: 149.6 MB / 1.311 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.499e-06/1.49, allocations: 3.984 kB / 1.311 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.000542/1.49, allocations: 87.8 kB / 1.311 GB, free: 13.29 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.01531/1.506, allocations: 4.205 MB / 1.315 GB, free: 8.977 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/1.506, allocations: 12.02 kB / 1.315 GB, free: 8.965 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001787/1.507, allocations: 366.2 kB / 1.316 GB, free: 8.598 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01786/1.525, allocations: 3.226 MB / 1.319 GB, free: 5.363 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009413/1.535, allocations: 2.576 MB / 1.321 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005772/1.535, allocations: 462.4 kB / 1.322 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001577/1.537, allocations: 236 kB / 1.322 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01617/1.553, allocations: 4.817 MB / 1.327 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/1.553, allocations: 4 kB / 1.327 GB, free: 13 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001127/1.554, allocations: 99.98 kB / 1.327 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000213/1.555, allocations: 148.8 kB / 1.327 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01544/1.57, allocations: 5.304 MB / 1.332 GB, free: 7.438 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03218/1.602, allocations: 14.87 MB / 1.347 GB, free: 7.387 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01174/1.614, allocations: 3.628 MB / 1.35 GB, free: 3.75 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002544/1.614, allocations: 25.23 kB / 1.35 GB, free: 3.727 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004963/1.619, allocations: 1.919 MB / 1.352 GB, free: 1.742 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=163): time 4.729e-06/1.619, allocations: 0 / 1.352 GB, free: 1.742 MB / 0.8698 GB Notification: Performance of matching and sorting (n=250): time 0.1335/1.753, allocations: 34.32 MB / 1.385 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005716/1.754, allocations: 0.9022 MB / 1.386 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005294/1.759, allocations: 1.985 MB / 1.388 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0006845/1.76, allocations: 77.7 kB / 1.388 GB, free: 12 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001654/1.761, allocations: 1.434 MB / 1.39 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001421/1.763, allocations: 0.824 MB / 1.391 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004798/1.763, allocations: 48 kB / 1.391 GB, free: 9.672 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002568/1.763, allocations: 394.7 kB / 1.391 GB, free: 9.281 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005476/1.769, allocations: 2.112 MB / 1.393 GB, free: 7.164 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005832/1.775, allocations: 2.503 MB / 1.396 GB, free: 4.523 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005767/1.781, allocations: 2.309 MB / 1.398 GB, free: 2.164 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/1.781, allocations: 0 / 1.398 GB, free: 2.164 MB / 0.9167 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0194/1.8, allocations: 6.907 MB / 1.405 GB, free: 11.16 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001193/1.8, allocations: 144.5 kB / 1.405 GB, free: 10.99 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/1.8, allocations: 8 kB / 1.405 GB, free: 10.98 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01054/1.811, allocations: 2.958 MB / 1.408 GB, free: 8.016 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003382/1.814, allocations: 0.5851 MB / 1.408 GB, free: 7.43 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0411/1.855, allocations: 18.14 MB / 1.426 GB, free: 5.059 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004613/1.86, allocations: 435.4 kB / 1.426 GB, free: 4.633 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005548/1.861, allocations: 87.97 kB / 1.426 GB, free: 4.547 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 (162): * Single equations (assignments): 155 * 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 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.00224/1.863, allocations: 0.7148 MB / 1.427 GB, free: 3.824 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/1.864, allocations: 332.1 kB / 1.427 GB, free: 3.496 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/1.865, allocations: 388.1 kB / 1.428 GB, free: 3.109 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.553e-05/1.865, allocations: 27.98 kB / 1.428 GB, free: 3.082 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-05/1.865, allocations: 12 kB / 1.428 GB, free: 3.07 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-05/1.865, allocations: 11.95 kB / 1.428 GB, free: 3.059 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5237/2.389, allocations: 3.637 MB / 1.431 GB, free: 252.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.019e-05/2.389, allocations: 0 / 1.431 GB, free: 252.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003212/2.392, allocations: 0.505 MB / 1.432 GB, free: 252.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01085/2.403, allocations: 2.866 MB / 1.435 GB, free: 252.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006675/2.404, allocations: 53.17 kB / 1.435 GB, free: 252.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04133/2.445, allocations: 17.98 MB / 1.452 GB, free: 250 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/2.445, allocations: 0.5625 kB / 1.452 GB, free: 250 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01909/2.464, allocations: 6.546 MB / 1.459 GB, free: 249.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002993/2.467, allocations: 0.7061 MB / 1.459 GB, free: 249.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001265/2.469, allocations: 50.61 kB / 1.459 GB, free: 249.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006942/2.476, allocations: 420.8 kB / 1.46 GB, free: 249.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002125/2.478, allocations: 362.1 kB / 1.46 GB, free: 249.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000451/2.478, allocations: 68.41 kB / 1.46 GB, free: 249.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004151/2.482, allocations: 1.526 MB / 1.462 GB, free: 249.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.054e-06/2.483, allocations: 0 / 1.462 GB, free: 249.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005614/2.488, allocations: 1.062 MB / 1.463 GB, free: 249.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 (118): * Single equations (assignments): 106 * 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 {8 64} Notification: Performance of Backend phase and start with SimCode phase: time 0.02613/2.514, allocations: 7.203 MB / 1.47 GB, free: 248.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0352/2.55, allocations: 6.827 MB / 1.476 GB, free: 247.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.443e-05/2.55, allocations: 3.094 kB / 1.476 GB, free: 247.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.02231/2.572, allocations: 4.213 MB / 1.481 GB, free: 247.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004967/2.577, allocations: 1.009 MB / 1.481 GB, free: 247.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0591/2.636, allocations: 30.59 MB / 1.511 GB, free: 234 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003732/2.64, allocations: 2.299 MB / 1.514 GB, free: 233 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004987/2.645, allocations: 0.5159 MB / 1.514 GB, free: 232.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002855/2.648, allocations: 1.326 MB / 1.515 GB, free: 231.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.483e-06/2.648, allocations: 0 / 1.515 GB, free: 231.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1978/2.846, allocations: 97.8 MB / 1.611 GB, free: 183.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/2.846, allocations: 227.7 kB / 1.611 GB, free: 182.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.188/9.034, allocations: 0 / 1.611 GB, free: 182.9 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)