Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DCLine,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLine",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.747/1.747, allocations: 289.9 MB / 297.4 MB, free: 6.406 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.001009/0.001009, allocations: 168.9 kB / 366.7 MB, free: 1.668 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.789/1.789, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.000837/0.0008371, allocations: 86.03 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.94e-05/1.941e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7412/0.7412, allocations: 116.3 MB / 0.9733 GB, free: 76.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.267/1.008, allocations: 180.7 MB / 1.15 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003395/1.009, allocations: 84.52 kB / 1.15 GB, free: 1.293 MB / 0.7448 GB [/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);. [/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.09286/1.102, allocations: 36.56 MB / 1.186 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.964e-06/1.102, allocations: 0 / 1.186 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.223e-05/1.102, allocations: 19.94 kB / 1.186 GB, free: 12.44 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001724/1.103, allocations: 0.9076 MB / 1.186 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/1.103, allocations: 8.031 kB / 1.186 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003352/1.107, allocations: 0.631 MB / 1.187 GB, free: 10.85 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/1.108, allocations: 0.5778 MB / 1.188 GB, free: 10.23 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/1.108, allocations: 21.38 kB / 1.188 GB, free: 10.21 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.873e-05/1.108, allocations: 28 kB / 1.188 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001127/1.109, allocations: 0.6859 MB / 1.188 GB, free: 9.496 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/1.11, allocations: 0.7973 MB / 1.189 GB, free: 8.652 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/1.11, allocations: 2.438 kB / 1.189 GB, free: 8.652 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-05/1.111, allocations: 0 / 1.189 GB, free: 8.652 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.526e-05/1.111, allocations: 41.3 kB / 1.189 GB, free: 8.613 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004339/1.115, allocations: 3.418 MB / 1.193 GB, free: 4.906 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007606/1.116, allocations: 377 kB / 1.193 GB, free: 4.527 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/1.116, allocations: 164.8 kB / 1.193 GB, free: 4.363 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.927e-05/1.116, allocations: 8 kB / 1.193 GB, free: 4.355 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/1.116, allocations: 34.52 kB / 1.193 GB, free: 4.312 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=31): time 3.466e-06/1.116, allocations: 3.984 kB / 1.193 GB, free: 4.309 MB / 0.7917 GB Notification: Performance of matching and sorting (n=43): time 0.002659/1.119, allocations: 1.127 MB / 1.194 GB, free: 3.156 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.482e-05/1.119, allocations: 140.5 kB / 1.194 GB, free: 2.988 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004927/1.119, allocations: 386.1 kB / 1.195 GB, free: 2.605 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/1.119, allocations: 29.7 kB / 1.195 GB, free: 2.57 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/1.12, allocations: 371.8 kB / 1.195 GB, free: 2.199 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/1.12, allocations: 137.9 kB / 1.195 GB, free: 2.062 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/1.12, allocations: 4 kB / 1.195 GB, free: 2.059 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001545/1.12, allocations: 362.8 kB / 1.196 GB, free: 1.695 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/1.12, allocations: 173.1 kB / 1.196 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/1.121, allocations: 313.4 kB / 1.196 GB, free: 1.164 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003242/1.121, allocations: 217.5 kB / 1.196 GB, free: 0.9531 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/1.121, allocations: 7.953 kB / 1.196 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001447/1.122, allocations: 0.7213 MB / 1.197 GB, free: 204 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005751/1.123, allocations: 1.227 MB / 1.198 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.123, allocations: 4 kB / 1.198 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009385/1.124, allocations: 229 kB / 1.198 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006241/1.125, allocations: 135.8 kB / 1.198 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004418/1.129, allocations: 5.729 MB / 1.204 GB, free: 8.352 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006504/1.13, allocations: 48.02 kB / 1.204 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/1.13, allocations: 27.94 kB / 1.204 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/1.13, allocations: 4 kB / 1.204 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001432/1.131, allocations: 1.022 MB / 1.205 GB, free: 7.121 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/1.131, allocations: 6.969 kB / 1.205 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003261/1.132, allocations: 129.4 kB / 1.205 GB, free: 6.973 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006424/1.132, allocations: 143.8 kB / 1.205 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005079/1.137, allocations: 7.513 MB / 1.213 GB, free: 14.64 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007111/1.138, allocations: 47.86 kB / 1.213 GB, free: 14.59 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-05/1.138, allocations: 22.56 kB / 1.213 GB, free: 14.57 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002148/1.138, allocations: 120.9 kB / 1.213 GB, free: 14.45 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001288/1.14, allocations: 0.627 MB / 1.214 GB, free: 13.79 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.445e-05/1.14, allocations: 59.3 kB / 1.214 GB, free: 13.73 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001876/1.14, allocations: 69.72 kB / 1.214 GB, free: 13.66 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/1.14, allocations: 8 kB / 1.214 GB, free: 13.66 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/1.14, allocations: 0 / 1.214 GB, free: 13.66 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/1.14, allocations: 7.984 kB / 1.214 GB, free: 13.65 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007897/1.141, allocations: 0.5575 MB / 1.214 GB, free: 13.05 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.141, allocations: 0 / 1.214 GB, free: 13.05 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005287/1.141, allocations: 103.8 kB / 1.214 GB, free: 12.95 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008113/1.142, allocations: 229 kB / 1.215 GB, free: 12.71 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.923e-05/1.142, allocations: 7.984 kB / 1.215 GB, free: 12.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005927/1.148, allocations: 8.015 MB / 1.222 GB, free: 4.012 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.148, allocations: 0 / 1.222 GB, free: 4.012 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/1.15, allocations: 0.7338 MB / 1.223 GB, free: 3.242 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002689/1.15, allocations: 172.3 kB / 1.223 GB, free: 3.055 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.9e-05/1.15, allocations: 0 / 1.223 GB, free: 3.055 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000518/1.151, allocations: 55.89 kB / 1.223 GB, free: 3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/1.151, allocations: 39.94 kB / 1.223 GB, free: 2.961 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-05/1.151, allocations: 16 kB / 1.223 GB, free: 2.945 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003819/1.151, allocations: 301.5 kB / 1.224 GB, free: 2.656 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.8e-07/1.151, allocations: 0 / 1.224 GB, free: 2.656 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001111/1.152, allocations: 260 kB / 1.224 GB, free: 2.402 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001719/1.154, allocations: 1.295 MB / 1.225 GB, free: 1.059 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002433/1.156, allocations: 1.73 MB / 1.227 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/1.156, allocations: 4 kB / 1.227 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0009503/1.157, allocations: 0.8853 MB / 1.228 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008911/1.158, allocations: 172.8 kB / 1.228 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/1.16, allocations: 1.004 MB / 1.229 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006051/1.161, allocations: 0.9824 MB / 1.23 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000703/1.162, allocations: 173.6 kB / 1.23 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003297/1.162, allocations: 227.4 kB / 1.23 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/1.162, allocations: 0 / 1.23 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04293/1.205, allocations: 16.38 MB / 1.246 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/1.205, allocations: 128.3 kB / 1.246 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.753/3.958, allocations: 0 / 1.246 GB, free: 11.34 MB / 0.8542 GB (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLine.fmu > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)