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.415/2.415, allocations: 284.8 MB / 297.3 MB, free: 6.34 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.001394/0.001394, allocations: 184.1 kB / 365.7 MB, free: 2.57 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.061/2.061, allocations: 205.2 MB / 0.6241 GB, free: 8.188 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 99.73 kB / 0.7372 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.429e-05/3.447e-05, allocations: 0 / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.814/0.8141, allocations: 115.2 MB / 0.97 GB, free: 78.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2798/1.094, allocations: 163.8 MB / 1.13 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003363/1.094, allocations: 85.08 kB / 1.13 GB, free: 4.535 MB / 0.7292 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.0476/1.142, allocations: 11.3 MB / 1.141 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.784e-06/1.142, allocations: 0 / 1.141 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.077e-05/1.142, allocations: 8 kB / 1.141 GB, free: 9.191 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.0008459/1.143, allocations: 473.1 kB / 1.141 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/1.143, allocations: 12.03 kB / 1.141 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009942/1.144, allocations: 84.84 kB / 1.142 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005784/1.145, allocations: 238.7 kB / 1.142 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/1.145, allocations: 16.38 kB / 1.142 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.279e-05/1.145, allocations: 16 kB / 1.142 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000749/1.145, allocations: 288 kB / 1.142 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/1.146, allocations: 2.625 kB / 1.142 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.803e-05/1.146, allocations: 19.97 kB / 1.142 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.316e-05/1.146, allocations: 16.38 kB / 1.142 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005152/1.146, allocations: 189 kB / 1.142 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002411/1.149, allocations: 1.463 MB / 1.144 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003834/1.149, allocations: 175.7 kB / 1.144 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.299e-05/1.149, allocations: 32.84 kB / 1.144 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/1.149, allocations: 0 / 1.144 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/1.149, allocations: 41 kB / 1.144 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.904e-06/1.149, allocations: 4 kB / 1.144 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004332/1.15, allocations: 114.5 kB / 1.144 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/1.15, allocations: 59.36 kB / 1.144 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/1.15, allocations: 181.5 kB / 1.144 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/1.15, allocations: 25.7 kB / 1.144 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/1.15, allocations: 163.6 kB / 1.145 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/1.15, allocations: 27.64 kB / 1.145 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.361e-05/1.15, allocations: 8 kB / 1.145 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001542/1.15, allocations: 322.8 kB / 1.145 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/1.151, allocations: 32 kB / 1.145 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003687/1.151, allocations: 101.7 kB / 1.145 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003937/1.151, allocations: 54.53 kB / 1.145 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.726e-05/1.152, allocations: 4 kB / 1.145 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001068/1.153, allocations: 182.2 kB / 1.145 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/1.153, allocations: 8 kB / 1.145 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/1.153, allocations: 0 / 1.145 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002235/1.153, allocations: 28.84 kB / 1.145 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/1.153, allocations: 31.88 kB / 1.145 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/1.155, allocations: 1.312 MB / 1.147 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/1.155, allocations: 15.84 kB / 1.147 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/1.155, allocations: 8.156 kB / 1.147 GB, free: 2.984 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.0001107/1.155, allocations: 113 kB / 1.147 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.419e-05/1.155, allocations: 19.75 kB / 1.147 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.063e-05/1.155, allocations: 21.52 kB / 1.147 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/1.155, allocations: 3.953 kB / 1.147 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/1.155, allocations: 0 / 1.147 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/1.155, allocations: 0 / 1.147 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007614/1.156, allocations: 448.8 kB / 1.147 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/1.156, allocations: 0 / 1.147 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.943e-05/1.156, allocations: 15.94 kB / 1.147 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001303/1.156, allocations: 16.84 kB / 1.147 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/1.156, allocations: 4 kB / 1.147 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/1.157, allocations: 1.316 MB / 1.148 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.157, allocations: 0 / 1.148 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003342/1.158, allocations: 212.3 kB / 1.149 GB, free: 0.6172 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/1.158, allocations: 92.94 kB / 1.149 GB, free: 0.5078 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/1.158, allocations: 4 kB / 1.149 GB, free: 0.5039 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/1.158, allocations: 4 kB / 1.149 GB, free: 0.5 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/1.158, allocations: 7.984 kB / 1.149 GB, free: 0.4922 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/1.158, allocations: 7.938 kB / 1.149 GB, free: 496 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001879/1.158, allocations: 143.1 kB / 1.149 GB, free: 356 kB / 0.7448 GB Notification: Performance of sort global known variables: time 4.41e-07/1.158, allocations: 3.938 kB / 1.149 GB, free: 352 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004554/1.159, allocations: 51.84 kB / 1.149 GB, free: 300 kB / 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.0001479/1.159, allocations: 105.2 kB / 1.149 GB, free: 188 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004933/1.16, allocations: 206.5 kB / 1.149 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.16, allocations: 8 kB / 1.149 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002158/1.16, allocations: 143.2 kB / 1.149 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/1.16, allocations: 34.7 kB / 1.149 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005978/1.161, allocations: 207.5 kB / 1.15 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/1.161, allocations: 0.7556 MB / 1.15 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001599/1.161, allocations: 21.31 kB / 1.15 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.695e-05/1.161, allocations: 15.44 kB / 1.15 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of SimCode: time 9.62e-07/1.162, allocations: 4 kB / 1.15 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of Templates: time 0.006828/1.168, allocations: 1.638 MB / 1.152 GB, free: 13.15 MB / 0.7605 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)