Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.494/2.494, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001579/0.001579, allocations: 180.8 kB / 360.6 MB, free: 7.258 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.19/2.19, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001786/0.001786, allocations: 80.7 kB / 0.7321 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.662e-05/2.665e-05, allocations: 0 / 0.8509 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.797/0.7971, allocations: 115.3 MB / 0.9634 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2747/1.072, allocations: 163.1 MB / 1.123 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/1.072, allocations: 92.39 kB / 1.123 GB, free: 9.168 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13: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.0.0/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.0/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39: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.0464/1.119, allocations: 11.26 MB / 1.134 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.913e-06/1.119, allocations: 0 / 1.134 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.363e-05/1.119, allocations: 4 kB / 1.134 GB, free: 13.89 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009205/1.12, allocations: 478.2 kB / 1.134 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/1.12, allocations: 8.031 kB / 1.134 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009805/1.121, allocations: 80.84 kB / 1.134 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005809/1.121, allocations: 238.7 kB / 1.135 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/1.121, allocations: 8 kB / 1.135 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/1.121, allocations: 11.94 kB / 1.135 GB, free: 13 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004967/1.122, allocations: 164.8 kB / 1.135 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006029/1.123, allocations: 259.9 kB / 1.135 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/1.123, allocations: 3.938 kB / 1.135 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.062e-05/1.123, allocations: 3.984 kB / 1.135 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.559e-05/1.123, allocations: 20.36 kB / 1.135 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/1.125, allocations: 1.418 MB / 1.136 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/1.126, allocations: 159.7 kB / 1.137 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.866e-05/1.126, allocations: 36.86 kB / 1.137 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/1.126, allocations: 0 / 1.137 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/1.126, allocations: 38.55 kB / 1.137 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 2.434e-06/1.126, allocations: 0 / 1.137 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004134/1.126, allocations: 98.53 kB / 1.137 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/1.126, allocations: 59.33 kB / 1.137 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/1.127, allocations: 158 kB / 1.137 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/1.127, allocations: 29.7 kB / 1.137 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/1.127, allocations: 163.7 kB / 1.137 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/1.127, allocations: 27.64 kB / 1.137 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.844e-06/1.127, allocations: 2.906 kB / 1.137 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001532/1.127, allocations: 326.8 kB / 1.137 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.844e-05/1.127, allocations: 31.98 kB / 1.137 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/1.127, allocations: 100.5 kB / 1.138 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/1.127, allocations: 39.92 kB / 1.138 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/1.127, allocations: 8 kB / 1.138 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004681/1.128, allocations: 158.2 kB / 1.138 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/1.128, allocations: 10.03 kB / 1.138 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/1.128, allocations: 2.75 kB / 1.138 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002185/1.128, allocations: 33.11 kB / 1.138 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/1.128, allocations: 31.97 kB / 1.138 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/1.13, allocations: 1.262 MB / 1.139 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/1.13, allocations: 15.8 kB / 1.139 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/1.13, allocations: 12 kB / 1.139 GB, free: 7.953 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001186/1.13, allocations: 108.7 kB / 1.139 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002874/1.131, allocations: 108 kB / 1.139 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.138e-05/1.131, allocations: 15.86 kB / 1.139 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.89e-05/1.131, allocations: 13.84 kB / 1.139 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/1.131, allocations: 6.25 kB / 1.139 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/1.131, allocations: 0 / 1.139 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/1.131, allocations: 0 / 1.139 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007493/1.131, allocations: 399.8 kB / 1.14 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/1.132, allocations: 0 / 1.14 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.523e-05/1.132, allocations: 5.75 kB / 1.14 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001349/1.132, allocations: 24.84 kB / 1.14 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/1.132, allocations: 4 kB / 1.14 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/1.133, allocations: 1.253 MB / 1.141 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.133, allocations: 5.844 kB / 1.141 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000344/1.133, allocations: 200.2 kB / 1.141 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/1.134, allocations: 104.9 kB / 1.141 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/1.134, allocations: 0 / 1.141 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/1.134, allocations: 11.92 kB / 1.141 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/1.134, allocations: 7.984 kB / 1.141 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/1.134, allocations: 8 kB / 1.141 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001509/1.134, allocations: 123.2 kB / 1.141 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.31e-07/1.134, allocations: 0 / 1.141 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004951/1.135, allocations: 51.75 kB / 1.141 GB, free: 5.316 MB / 0.7448 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 (6): * Single equations (assignments): 5 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007116/1.135, allocations: 0.7382 MB / 1.142 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004869/1.136, allocations: 185.7 kB / 1.142 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/1.136, allocations: 2.156 kB / 1.142 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000214/1.136, allocations: 141.7 kB / 1.142 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/1.136, allocations: 27.12 kB / 1.143 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009398/1.137, allocations: 275.1 kB / 1.143 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/1.138, allocations: 0.7514 MB / 1.144 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001835/1.138, allocations: 23.86 kB / 1.144 GB, free: 3.09 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/1.138, allocations: 55.41 kB / 1.144 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of SimCode: time 1.453e-06/1.138, allocations: 0 / 1.144 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04634/1.185, allocations: 2.71 MB / 1.146 GB, free: 412 kB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00033/1.185, allocations: 145 kB / 1.146 GB, free: 212 kB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/3.578, allocations: 1.969 kB / 1.146 GB, free: 212 kB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_Resistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_Resistance.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)