Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.535/2.535, allocations: 287.5 MB / 302.5 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001547/0.001546, allocations: 176.2 kB / 371 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.4 MB / 0.6297 GB, free: 10.5 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 107.6 kB / 0.743 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004856/0.0004855, allocations: 15.25 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2035, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9702/1.174, allocations: 163.9 MB / 1.138 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/1.174, allocations: 91.73 kB / 1.138 GB, free: 14.27 MB / 0.6823 GB [/var/lib/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);. [/var/lib/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);. [/var/lib/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.03956/1.214, allocations: 11.39 MB / 1.15 GB, free: 25.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.364e-06/1.214, allocations: 0 / 1.15 GB, free: 25.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.122e-05/1.214, allocations: 3.875 kB / 1.15 GB, free: 25.36 MB / 0.698 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.000901/1.215, allocations: 486.4 kB / 1.15 GB, free: 24.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/1.215, allocations: 15.42 kB / 1.15 GB, free: 24.92 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000933/1.216, allocations: 86.14 kB / 1.15 GB, free: 24.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/1.216, allocations: 249.7 kB / 1.15 GB, free: 24.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/1.216, allocations: 10.81 kB / 1.15 GB, free: 24.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.631e-05/1.216, allocations: 26.58 kB / 1.15 GB, free: 24.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006016/1.217, allocations: 286.1 kB / 1.151 GB, free: 24.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/1.217, allocations: 3.938 kB / 1.151 GB, free: 24.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/1.217, allocations: 10.5 kB / 1.151 GB, free: 24.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-05/1.217, allocations: 11.84 kB / 1.151 GB, free: 24.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004983/1.218, allocations: 193.6 kB / 1.151 GB, free: 24.46 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00238/1.22, allocations: 1.463 MB / 1.152 GB, free: 23.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003774/1.22, allocations: 179.4 kB / 1.153 GB, free: 23.01 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/1.22, allocations: 0 / 1.153 GB, free: 23.01 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/1.22, allocations: 42.62 kB / 1.153 GB, free: 22.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/1.22, allocations: 3.938 kB / 1.153 GB, free: 22.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.00066/1.221, allocations: 221.4 kB / 1.153 GB, free: 22.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.543e-05/1.221, allocations: 55.39 kB / 1.153 GB, free: 22.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/1.221, allocations: 181 kB / 1.153 GB, free: 22.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/1.221, allocations: 27.95 kB / 1.153 GB, free: 22.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/1.222, allocations: 174.3 kB / 1.153 GB, free: 22.45 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/1.222, allocations: 22.97 kB / 1.153 GB, free: 22.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/1.222, allocations: 0 / 1.153 GB, free: 22.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001446/1.222, allocations: 328.8 kB / 1.154 GB, free: 22.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.916e-05/1.222, allocations: 34.42 kB / 1.154 GB, free: 22.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/1.222, allocations: 106.2 kB / 1.154 GB, free: 22.01 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/1.222, allocations: 48.55 kB / 1.154 GB, free: 22 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/1.222, allocations: 3.844 kB / 1.154 GB, free: 22 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004279/1.223, allocations: 188.8 kB / 1.154 GB, free: 21.92 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/1.223, allocations: 7.719 kB / 1.154 GB, free: 21.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/1.223, allocations: 0 / 1.154 GB, free: 21.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002026/1.223, allocations: 28.25 kB / 1.154 GB, free: 21.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/1.223, allocations: 30.67 kB / 1.154 GB, free: 21.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/1.224, allocations: 1.326 MB / 1.155 GB, free: 20.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/1.225, allocations: 23.84 kB / 1.155 GB, free: 20.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/1.225, allocations: 7.375 kB / 1.155 GB, free: 20.52 MB / 0.698 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 () * Number of clocked 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.0002084/1.225, allocations: 144.3 kB / 1.155 GB, free: 20.39 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/1.225, allocations: 11.91 kB / 1.155 GB, free: 20.38 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.827e-05/1.225, allocations: 19.89 kB / 1.155 GB, free: 20.36 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/1.225, allocations: 0 / 1.155 GB, free: 20.36 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.225, allocations: 7.953 kB / 1.155 GB, free: 20.35 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/1.225, allocations: 4 kB / 1.155 GB, free: 20.35 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007174/1.226, allocations: 444 kB / 1.156 GB, free: 19.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/1.226, allocations: 3.953 kB / 1.156 GB, free: 19.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.252e-05/1.226, allocations: 8 kB / 1.156 GB, free: 19.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001287/1.226, allocations: 19.84 kB / 1.156 GB, free: 19.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/1.226, allocations: 0 / 1.156 GB, free: 19.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001229/1.227, allocations: 1.319 MB / 1.157 GB, free: 18.48 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.227, allocations: 0 / 1.157 GB, free: 18.48 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/1.228, allocations: 221.7 kB / 1.157 GB, free: 18.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/1.228, allocations: 106 kB / 1.158 GB, free: 18.15 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/1.228, allocations: 0 / 1.158 GB, free: 18.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/1.228, allocations: 4 kB / 1.158 GB, free: 18.15 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.419e-05/1.228, allocations: 7.188 kB / 1.158 GB, free: 18.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/1.228, allocations: 0 / 1.158 GB, free: 18.14 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002298/1.228, allocations: 150.7 kB / 1.158 GB, free: 18.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.228, allocations: 0 / 1.158 GB, free: 18.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004571/1.229, allocations: 55.28 kB / 1.158 GB, free: 17.96 MB / 0.698 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 () * Number of clocked 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.0001346/1.229, allocations: 105.7 kB / 1.158 GB, free: 17.85 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004644/1.229, allocations: 196 kB / 1.158 GB, free: 17.67 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.229, allocations: 8.188 kB / 1.158 GB, free: 17.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002045/1.23, allocations: 144.4 kB / 1.158 GB, free: 17.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/1.23, allocations: 39.77 kB / 1.158 GB, free: 17.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007805/1.231, allocations: 424.5 kB / 1.159 GB, free: 17.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/1.231, allocations: 0.7508 MB / 1.159 GB, free: 16.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001707/1.231, allocations: 29.52 kB / 1.159 GB, free: 16.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.55e-05/1.232, allocations: 15.44 kB / 1.159 GB, free: 16.25 MB / 0.698 GB Notification: Performance of SimCode: time 2.294e-06/1.232, allocations: 0 / 1.159 GB, free: 16.25 MB / 0.698 GB Notification: Performance of Templates: time 0.006061/1.238, allocations: 1.631 MB / 1.161 GB, free: 14.65 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (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 & ./Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)