Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.684/1.684, allocations: 289.7 MB / 302.2 MB, free: 2.105 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.001228/0.001228, allocations: 188.3 kB / 371.6 MB, free: 3.379 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.601/1.601, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0008575/0.0008577, allocations: 90.98 kB / 0.745 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.113e-05/4.115e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2583, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9098/1.168, allocations: 190.6 MB / 1.166 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/1.169, allocations: 89.08 kB / 1.166 GB, free: 7.16 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.3681/1.537, allocations: 147.6 MB / 1.31 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.974e-06/1.537, allocations: 0 / 1.31 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002824/1.537, allocations: 72 kB / 1.31 GB, free: 14.96 MB / 0.8855 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.01048/1.547, allocations: 3.433 MB / 1.314 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.418e-05/1.548, allocations: 12.03 kB / 1.314 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001464/1.549, allocations: 346.1 kB / 1.314 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01726/1.566, allocations: 3.21 MB / 1.317 GB, free: 7.852 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007418/1.574, allocations: 2.295 MB / 1.319 GB, free: 5.484 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/1.574, allocations: 180.7 kB / 1.32 GB, free: 5.305 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009155/1.575, allocations: 240.6 kB / 1.32 GB, free: 5.07 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007591/1.583, allocations: 3.824 MB / 1.323 GB, free: 1.105 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.471e-05/1.583, allocations: 3.984 kB / 1.323 GB, free: 1.102 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003566/1.583, allocations: 108 kB / 1.324 GB, free: 0.9961 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001709/1.583, allocations: 144.8 kB / 1.324 GB, free: 0.8516 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006805/1.59, allocations: 3.525 MB / 1.327 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02626/1.616, allocations: 14.36 MB / 1.341 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006901/1.623, allocations: 2.828 MB / 1.344 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001851/1.625, allocations: 1.046 MB / 1.345 GB, free: 9.906 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/1.625, allocations: 33.25 kB / 1.345 GB, free: 9.875 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002203/1.627, allocations: 1.353 MB / 1.346 GB, free: 8.457 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=163): time 3.827e-06/1.627, allocations: 8 kB / 1.346 GB, free: 8.449 MB / 0.9167 GB Notification: Performance of matching and sorting (n=250): time 0.1161/1.744, allocations: 28.99 MB / 1.375 GB, free: 11.41 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000533/1.744, allocations: 0.8983 MB / 1.376 GB, free: 10.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003729/1.748, allocations: 1.951 MB / 1.377 GB, free: 8.336 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007087/1.749, allocations: 77.7 kB / 1.378 GB, free: 8.254 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001665/1.75, allocations: 1.434 MB / 1.379 GB, free: 6.805 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0011/1.751, allocations: 0.8279 MB / 1.38 GB, free: 5.965 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/1.752, allocations: 44 kB / 1.38 GB, free: 5.922 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002185/1.752, allocations: 394.7 kB / 1.38 GB, free: 5.531 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002195/1.754, allocations: 1.254 MB / 1.381 GB, free: 4.273 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002572/1.757, allocations: 1.641 MB / 1.383 GB, free: 2.496 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002442/1.759, allocations: 1.485 MB / 1.384 GB, free: 0.957 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.866e-06/1.759, allocations: 4 kB / 1.384 GB, free: 0.9531 MB / 0.948 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.6731/2.432, allocations: 4.769 MB / 1.389 GB, free: 196.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006749/2.433, allocations: 2.449 MB / 1.391 GB, free: 194.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/2.433, allocations: 4.25 kB / 1.391 GB, free: 194.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006376/2.439, allocations: 1.757 MB / 1.393 GB, free: 194.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003448/2.443, allocations: 0.5925 MB / 1.394 GB, free: 194.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01532/2.458, allocations: 9.04 MB / 1.403 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005072/2.463, allocations: 417.5 kB / 1.403 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005985/2.464, allocations: 93.12 kB / 1.403 GB, free: 192.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/2.464, allocations: 3.25 kB / 1.403 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0114/2.475, allocations: 4.375 MB / 1.407 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.137e-05/2.475, allocations: 10.11 kB / 1.407 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004811/2.48, allocations: 1.767 MB / 1.409 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003093/2.483, allocations: 0.6135 MB / 1.41 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01903/2.502, allocations: 13.25 MB / 1.423 GB, free: 189.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004667/2.507, allocations: 416 kB / 1.423 GB, free: 189.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003513/2.507, allocations: 89.89 kB / 1.423 GB, free: 189.3 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 () * 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.0008137/2.508, allocations: 251.3 kB / 1.423 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006421/2.509, allocations: 339.7 kB / 1.424 GB, free: 189.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/2.51, allocations: 392.5 kB / 1.424 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/2.51, allocations: 25.78 kB / 1.424 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-05/2.51, allocations: 10.72 kB / 1.424 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.098e-05/2.51, allocations: 13.64 kB / 1.424 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004368/2.515, allocations: 3.179 MB / 1.427 GB, free: 188.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/2.515, allocations: 0 / 1.427 GB, free: 188.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002464/2.517, allocations: 0.5233 MB / 1.428 GB, free: 188.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004948/2.522, allocations: 1.662 MB / 1.429 GB, free: 188.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002608/2.522, allocations: 57.14 kB / 1.429 GB, free: 188.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01861/2.541, allocations: 13.74 MB / 1.443 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/2.541, allocations: 1.125 kB / 1.443 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008663/2.55, allocations: 4.412 MB / 1.447 GB, free: 185.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002122/2.552, allocations: 0.6665 MB / 1.448 GB, free: 185.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005531/2.552, allocations: 52.69 kB / 1.448 GB, free: 185.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002952/2.555, allocations: 411.8 kB / 1.448 GB, free: 185.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009266/2.556, allocations: 300.9 kB / 1.449 GB, free: 185.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001851/2.556, allocations: 71.53 kB / 1.449 GB, free: 185.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002085/2.559, allocations: 1.491 MB / 1.45 GB, free: 185.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.493e-06/2.559, allocations: 0 / 1.45 GB, free: 185.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004558/2.563, allocations: 1.587 MB / 1.452 GB, free: 185.1 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) * 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.008232/2.571, allocations: 5.064 MB / 1.457 GB, free: 184.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01398/2.585, allocations: 7.714 MB / 1.464 GB, free: 180.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/2.585, allocations: 4.344 kB / 1.464 GB, free: 180.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004967/2.59, allocations: 2.792 MB / 1.467 GB, free: 179.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005422/2.596, allocations: 1.012 MB / 1.468 GB, free: 179.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/2.608, allocations: 5.601 MB / 1.473 GB, free: 177.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001909/2.61, allocations: 2.332 MB / 1.476 GB, free: 176.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004074/2.614, allocations: 0.7647 MB / 1.476 GB, free: 176.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001598/2.615, allocations: 1.299 MB / 1.478 GB, free: 175.3 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/2.616, allocations: 3.375 kB / 1.478 GB, free: 175.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.171/2.787, allocations: 102.3 MB / 1.577 GB, free: 167.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/2.787, allocations: 179.4 kB / 1.578 GB, free: 167 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.436/9.223, allocations: 0 / 1.578 GB, free: 167 MB / 0.948 GB (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLines_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLines.fmu > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)