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.771/1.771, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001089/0.001089, allocations: 189 kB / 377.1 MB, free: 1.535 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.694/1.694, allocations: 205.4 MB / 0.6366 GB, free: 8.562 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.000949/0.0009491, allocations: 92.05 kB / 0.7509 GB, free: 63.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005701/0.0005699, allocations: 12 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3144, allocations: 116.3 MB / 0.9884 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7759/1.09, allocations: 190.7 MB / 1.175 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003433/1.091, allocations: 93.31 kB / 1.175 GB, free: 7.695 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.3803/1.471, allocations: 148 MB / 1.319 GB, free: 1.727 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.224e-06/1.471, allocations: 0 / 1.319 GB, free: 1.727 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004387/1.472, allocations: 75.94 kB / 1.319 GB, free: 1.652 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.01168/1.483, allocations: 3.955 MB / 1.323 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 7.407e-05/1.483, allocations: 12.02 kB / 1.323 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001642/1.485, allocations: 358.1 kB / 1.324 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01674/1.502, allocations: 3.214 MB / 1.327 GB, free: 9.992 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007427/1.509, allocations: 2.307 MB / 1.329 GB, free: 7.613 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002209/1.51, allocations: 188.7 kB / 1.329 GB, free: 7.426 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001209/1.511, allocations: 232.7 kB / 1.329 GB, free: 7.199 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01589/1.527, allocations: 4.687 MB / 1.334 GB, free: 2.371 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.727e-05/1.527, allocations: 3.938 kB / 1.334 GB, free: 2.367 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001026/1.528, allocations: 108 kB / 1.334 GB, free: 2.262 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002105/1.528, allocations: 144.8 kB / 1.334 GB, free: 2.117 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.016/1.544, allocations: 5.218 MB / 1.339 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02805/1.572, allocations: 14.38 MB / 1.353 GB, free: 13.35 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.019/1.591, allocations: 3.78 MB / 1.357 GB, free: 9.559 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002863/1.592, allocations: 25.3 kB / 1.357 GB, free: 9.535 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008533/1.6, allocations: 1.818 MB / 1.359 GB, free: 7.652 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=163): time 8.296e-06/1.6, allocations: 0 / 1.359 GB, free: 7.652 MB / 0.9323 GB Notification: Performance of matching and sorting (n=250): time 0.745/2.345, allocations: 33.51 MB / 1.392 GB, free: 182.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002679/2.346, allocations: 0.9015 MB / 1.392 GB, free: 181.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003274/2.349, allocations: 1.984 MB / 1.394 GB, free: 181 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0005199/2.349, allocations: 77.2 kB / 1.394 GB, free: 181 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001321/2.351, allocations: 1.436 MB / 1.396 GB, free: 180.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008988/2.352, allocations: 0.8198 MB / 1.397 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/2.352, allocations: 48.5 kB / 1.397 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001386/2.352, allocations: 394.6 kB / 1.397 GB, free: 179.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004164/2.356, allocations: 1.921 MB / 1.399 GB, free: 179.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004548/2.361, allocations: 2.317 MB / 1.401 GB, free: 179.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004215/2.365, allocations: 2.141 MB / 1.403 GB, free: 179.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/2.365, allocations: 2.969 kB / 1.403 GB, free: 179.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01423/2.379, allocations: 6.13 MB / 1.409 GB, free: 178.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005379/2.38, allocations: 2.456 MB / 1.412 GB, free: 176 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/2.38, allocations: 3.281 kB / 1.412 GB, free: 176 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005721/2.386, allocations: 1.797 MB / 1.413 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003044/2.389, allocations: 0.5872 MB / 1.414 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/2.402, allocations: 9.518 MB / 1.423 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005241/2.407, allocations: 418.5 kB / 1.424 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005768/2.408, allocations: 84.88 kB / 1.424 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/2.408, allocations: 6.438 kB / 1.424 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01327/2.421, allocations: 5.725 MB / 1.429 GB, free: 173.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.528e-05/2.421, allocations: 7.078 kB / 1.429 GB, free: 173.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004543/2.426, allocations: 1.806 MB / 1.431 GB, free: 173.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003068/2.429, allocations: 0.6142 MB / 1.432 GB, free: 173.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01883/2.448, allocations: 14.01 MB / 1.445 GB, free: 170.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004831/2.453, allocations: 408.4 kB / 1.446 GB, free: 170.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004642/2.453, allocations: 87.78 kB / 1.446 GB, free: 170.5 MB / 0.9323 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.002243/2.456, allocations: 0.7951 MB / 1.447 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008284/2.456, allocations: 338 kB / 1.447 GB, free: 170.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008313/2.457, allocations: 394.7 kB / 1.447 GB, free: 170.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/2.457, allocations: 23.97 kB / 1.447 GB, free: 170.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.446e-05/2.457, allocations: 9.594 kB / 1.447 GB, free: 170.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.112e-05/2.457, allocations: 14.91 kB / 1.447 GB, free: 170.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005585/2.463, allocations: 3.181 MB / 1.451 GB, free: 169.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/2.463, allocations: 0 / 1.451 GB, free: 169.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00299/2.466, allocations: 0.5267 MB / 1.451 GB, free: 169.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006481/2.472, allocations: 1.693 MB / 1.453 GB, free: 169.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006403/2.473, allocations: 52.36 kB / 1.453 GB, free: 169.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02413/2.497, allocations: 14.55 MB / 1.467 GB, free: 163.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/2.497, allocations: 0 / 1.467 GB, free: 163.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01633/2.514, allocations: 5.762 MB / 1.473 GB, free: 161.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003064/2.517, allocations: 0.6696 MB / 1.473 GB, free: 161.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001288/2.518, allocations: 49.84 kB / 1.473 GB, free: 161.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004/2.522, allocations: 415 kB / 1.474 GB, free: 161.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001077/2.523, allocations: 307.2 kB / 1.474 GB, free: 161 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002623/2.523, allocations: 68.34 kB / 1.474 GB, free: 161 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002964/2.526, allocations: 1.528 MB / 1.476 GB, free: 160.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.7e-07/2.526, allocations: 0 / 1.476 GB, free: 160.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00822/2.535, allocations: 1.585 MB / 1.477 GB, free: 160.3 MB / 0.9323 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.01769/2.552, allocations: 6.405 MB / 1.483 GB, free: 157.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.02302/2.575, allocations: 9.693 MB / 1.493 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.747e-05/2.576, allocations: 6.188 kB / 1.493 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.008891/2.584, allocations: 3.511 MB / 1.496 GB, free: 153.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005986/2.59, allocations: 1.008 MB / 1.497 GB, free: 152.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05899/2.65, allocations: 29.34 MB / 1.526 GB, free: 135.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002005/2.652, allocations: 2.328 MB / 1.528 GB, free: 134.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003761/2.655, allocations: 0.6401 MB / 1.529 GB, free: 134.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001752/2.657, allocations: 1.33 MB / 1.53 GB, free: 133.7 MB / 0.9323 GB Notification: Performance of SimCode: time 1.022e-06/2.657, allocations: 0 / 1.53 GB, free: 133.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1579/2.815, allocations: 99.01 MB / 1.627 GB, free: 82.48 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/2.815, allocations: 208.5 kB / 1.627 GB, free: 82.24 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.364/9.18, allocations: 0 / 1.627 GB, free: 82.24 MB / 0.9323 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)