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.705/1.705, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.0009916/0.0009915, allocations: 192.8 kB / 361.4 MB, free: 6.867 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.621/1.621, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008883/0.0008882, allocations: 90.98 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.024e-05/2.035e-05, allocations: 4 kB / 0.8518 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7109/0.7109, allocations: 115.3 MB / 0.9644 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2447/0.9557, allocations: 189 MB / 1.149 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.956, allocations: 91.94 kB / 1.149 GB, free: 14.6 MB / 0.7605 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.9653/1.921, allocations: 146.5 MB / 1.292 GB, free: 193.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.395e-06/1.921, allocations: 0 / 1.292 GB, free: 193.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0007731/1.922, allocations: 84.78 kB / 1.292 GB, free: 193.2 MB / 0.8542 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.01347/1.936, allocations: 3.43 MB / 1.296 GB, free: 191.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/1.936, allocations: 9.812 kB / 1.296 GB, free: 191.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01753/1.953, allocations: 3.206 MB / 1.299 GB, free: 191.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008463/1.962, allocations: 2.295 MB / 1.301 GB, free: 190.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002031/1.962, allocations: 78.25 kB / 1.301 GB, free: 190.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00147/1.963, allocations: 140.7 kB / 1.301 GB, free: 190.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008956/1.972, allocations: 3.383 MB / 1.304 GB, free: 190.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0116/1.984, allocations: 3.477 MB / 1.308 GB, free: 190.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.4e-05/1.984, allocations: 0 / 1.308 GB, free: 190.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009913/1.985, allocations: 9.453 kB / 1.308 GB, free: 190.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002183/1.985, allocations: 143.1 kB / 1.308 GB, free: 190.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02524/2.011, allocations: 13.85 MB / 1.322 GB, free: 182 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006592/2.017, allocations: 2.76 MB / 1.324 GB, free: 181 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001496/2.019, allocations: 1.003 MB / 1.325 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/2.019, allocations: 33.89 kB / 1.325 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00203/2.021, allocations: 1.301 MB / 1.327 GB, free: 180 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 5.912e-06/2.021, allocations: 1.5 kB / 1.327 GB, free: 180 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.01937/2.04, allocations: 7.543 MB / 1.334 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002539/2.041, allocations: 0.8956 MB / 1.335 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003135/2.044, allocations: 1.559 MB / 1.336 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004637/2.044, allocations: 40.3 kB / 1.336 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00127/2.046, allocations: 1.447 MB / 1.338 GB, free: 174.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008937/2.047, allocations: 0.7894 MB / 1.338 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002867/2.047, allocations: 0 / 1.338 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001523/2.047, allocations: 402 kB / 1.339 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001835/2.049, allocations: 1.208 MB / 1.34 GB, free: 173 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002064/2.051, allocations: 1.572 MB / 1.342 GB, free: 172.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00185/2.053, allocations: 1.292 MB / 1.343 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/2.053, allocations: 3.594 kB / 1.343 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.008455/2.061, allocations: 4.37 MB / 1.347 GB, free: 170 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004947/2.062, allocations: 2.411 MB / 1.349 GB, free: 167.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/2.062, allocations: 9.5 kB / 1.349 GB, free: 167.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005117/2.067, allocations: 1.607 MB / 1.351 GB, free: 167.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002964/2.07, allocations: 0.5874 MB / 1.352 GB, free: 167 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/2.083, allocations: 8.993 MB / 1.36 GB, free: 162 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00443/2.088, allocations: 362.5 kB / 1.361 GB, free: 162 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004353/2.088, allocations: 91.59 kB / 1.361 GB, free: 162 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/2.088, allocations: 4.562 kB / 1.361 GB, free: 162 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006398/2.094, allocations: 3.677 MB / 1.364 GB, free: 160.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/2.095, allocations: 3.969 kB / 1.364 GB, free: 160.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003334/2.098, allocations: 1.413 MB / 1.366 GB, free: 160.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00312/2.101, allocations: 0.634 MB / 1.366 GB, free: 160.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01606/2.117, allocations: 11.76 MB / 1.378 GB, free: 153.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004422/2.122, allocations: 361.4 kB / 1.378 GB, free: 153.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006412/2.122, allocations: 85.25 kB / 1.378 GB, free: 153.8 MB / 0.8542 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 () * 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.0008832/2.123, allocations: 172.5 kB / 1.379 GB, free: 153.6 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007663/2.131, allocations: 4.051 MB / 1.382 GB, free: 152.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001046/2.132, allocations: 304.8 kB / 1.383 GB, free: 152 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009841/2.133, allocations: 347 kB / 1.383 GB, free: 151.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/2.133, allocations: 24 kB / 1.383 GB, free: 151.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.017e-05/2.133, allocations: 8 kB / 1.383 GB, free: 151.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.052e-05/2.133, allocations: 10.12 kB / 1.383 GB, free: 151.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004306/2.137, allocations: 2.801 MB / 1.386 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/2.137, allocations: 7.828 kB / 1.386 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002504/2.14, allocations: 0.5163 MB / 1.386 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005159/2.145, allocations: 1.621 MB / 1.388 GB, free: 148 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000387/2.145, allocations: 19.59 kB / 1.388 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.017/2.162, allocations: 13.35 MB / 1.401 GB, free: 136 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/2.162, allocations: 4 kB / 1.401 GB, free: 136 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007943/2.17, allocations: 4.17 MB / 1.405 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001992/2.172, allocations: 0.6392 MB / 1.406 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008557/2.173, allocations: 15.8 kB / 1.406 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003509/2.177, allocations: 366.5 kB / 1.406 GB, free: 131.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008743/2.178, allocations: 308.7 kB / 1.406 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002403/2.178, allocations: 75.22 kB / 1.406 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002179/2.18, allocations: 1.157 MB / 1.408 GB, free: 130.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.51e-07/2.18, allocations: 0 / 1.408 GB, free: 130.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005055/2.185, allocations: 1.402 MB / 1.409 GB, free: 128.8 MB / 0.8542 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) * 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.007594/2.193, allocations: 4.798 MB / 1.414 GB, free: 124.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01233/2.205, allocations: 7.365 MB / 1.421 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/2.205, allocations: 0 / 1.421 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00514/2.21, allocations: 2.674 MB / 1.423 GB, free: 115.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007003/2.217, allocations: 0.8688 MB / 1.424 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01669/2.234, allocations: 5.371 MB / 1.43 GB, free: 109 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002844/2.237, allocations: 2.323 MB / 1.432 GB, free: 106.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00486/2.242, allocations: 0.7259 MB / 1.433 GB, free: 106 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001857/2.244, allocations: 1.295 MB / 1.434 GB, free: 104.7 MB / 0.8542 GB Notification: Performance of SimCode: time 8.42e-07/2.244, allocations: 4 kB / 1.434 GB, free: 104.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1502/2.394, allocations: 92.94 MB / 1.525 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/2.394, allocations: 145.5 kB / 1.525 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.01/8.405, allocations: 0 / 1.525 GB, free: 12.83 MB / 0.8542 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)