Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.458/2.458, allocations: 285 MB / 292.5 MB, free: 10.6 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.001424/0.001424, allocations: 188.8 kB / 360.7 MB, free: 7.27 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 1.933/1.933, allocations: 205.3 MB / 0.6192 GB, free: 12.15 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.001083/0.001083, allocations: 93.44 kB / 0.7322 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.915e-05/1.908e-05, allocations: 4 kB / 0.8509 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7863/0.7864, allocations: 115.2 MB / 0.9634 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2973/1.084, allocations: 163.3 MB / 1.123 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003544/1.084, allocations: 87.94 kB / 1.123 GB, free: 9.066 MB / 0.7292 GB [/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/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/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.06442/1.149, allocations: 16 MB / 1.139 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.094e-06/1.149, allocations: 0 / 1.139 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.691e-05/1.149, allocations: 8 kB / 1.139 GB, free: 8.98 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001133/1.15, allocations: 0.5504 MB / 1.139 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/1.15, allocations: 8.031 kB / 1.139 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001624/1.151, allocations: 144.6 kB / 1.139 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006833/1.152, allocations: 290.4 kB / 1.14 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/1.152, allocations: 8 kB / 1.14 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.738e-05/1.152, allocations: 16 kB / 1.14 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007484/1.153, allocations: 273.5 kB / 1.14 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009316/1.154, allocations: 411.7 kB / 1.14 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/1.154, allocations: 0 / 1.14 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.127e-05/1.154, allocations: 4 kB / 1.14 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.38e-05/1.154, allocations: 24.48 kB / 1.14 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003261/1.157, allocations: 2.114 MB / 1.142 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005726/1.158, allocations: 239.8 kB / 1.143 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003596/1.158, allocations: 100.8 kB / 1.143 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/1.158, allocations: 7.938 kB / 1.143 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/1.158, allocations: 30.56 kB / 1.143 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 3.296e-06/1.159, allocations: 11.22 kB / 1.143 GB, free: 4.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0005103/1.159, allocations: 158.5 kB / 1.143 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/1.159, allocations: 51.41 kB / 1.143 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/1.159, allocations: 191.2 kB / 1.143 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/1.159, allocations: 25.7 kB / 1.143 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.00017/1.16, allocations: 207.3 kB / 1.143 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.251e-05/1.16, allocations: 51.3 kB / 1.143 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/1.16, allocations: 0 / 1.143 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.16, allocations: 326.8 kB / 1.144 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/1.16, allocations: 56.39 kB / 1.144 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/1.16, allocations: 128.6 kB / 1.144 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/1.16, allocations: 83.84 kB / 1.144 GB, free: 3.09 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/1.16, allocations: 0 / 1.144 GB, free: 3.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006286/1.161, allocations: 226 kB / 1.144 GB, free: 2.859 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/1.161, allocations: 4 kB / 1.144 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.161, allocations: 4 kB / 1.144 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002168/1.161, allocations: 33.22 kB / 1.144 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/1.162, allocations: 43.92 kB / 1.144 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/1.163, allocations: 1.267 MB / 1.145 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002873/1.163, allocations: 23.69 kB / 1.145 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/1.164, allocations: 9.188 kB / 1.145 GB, free: 1.363 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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.000133/1.164, allocations: 122.8 kB / 1.146 GB, free: 1.238 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.108e-05/1.164, allocations: 15.81 kB / 1.146 GB, free: 1.223 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.79e-05/1.164, allocations: 21.95 kB / 1.146 GB, free: 1.203 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/1.164, allocations: 4 kB / 1.146 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.164, allocations: 96 / 1.146 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/1.164, allocations: 4 kB / 1.146 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/1.165, allocations: 0.6406 MB / 1.146 GB, free: 488 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/1.165, allocations: 0 / 1.146 GB, free: 488 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/1.165, allocations: 33.89 kB / 1.146 GB, free: 456 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001325/1.166, allocations: 20.84 kB / 1.146 GB, free: 432 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/1.166, allocations: 5.391 kB / 1.146 GB, free: 428 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/1.167, allocations: 1.26 MB / 1.148 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.167, allocations: 2.062 kB / 1.148 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005721/1.168, allocations: 377.4 kB / 1.148 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/1.168, allocations: 116.8 kB / 1.148 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/1.168, allocations: 0 / 1.148 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/1.168, allocations: 8 kB / 1.148 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/1.168, allocations: 15.98 kB / 1.148 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/1.168, allocations: 8 kB / 1.148 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002069/1.168, allocations: 153.6 kB / 1.148 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.61e-07/1.168, allocations: 0 / 1.148 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005851/1.169, allocations: 75.69 kB / 1.148 GB, free: 14.21 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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.0001571/1.169, allocations: 95.19 kB / 1.148 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006373/1.17, allocations: 250 kB / 1.149 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.17, allocations: 0 / 1.149 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000345/1.17, allocations: 180.6 kB / 1.149 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005163/1.171, allocations: 50.03 kB / 1.149 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009882/1.172, allocations: 359.9 kB / 1.149 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005231/1.172, allocations: 0.8025 MB / 1.15 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002776/1.172, allocations: 38.05 kB / 1.15 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.439e-05/1.173, allocations: 15.44 kB / 1.15 GB, free: 12.35 MB / 0.7605 GB Notification: Performance of SimCode: time 9.82e-07/1.173, allocations: 0 / 1.15 GB, free: 12.35 MB / 0.7605 GB Notification: Performance of Templates: time 0.008251/1.181, allocations: 2.124 MB / 1.152 GB, free: 10.29 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)