Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.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.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.426/2.426, allocations: 285 MB / 292.5 MB, free: 10.54 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.001455/0.001454, allocations: 192.9 kB / 360.8 MB, free: 7.234 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.924/1.924, 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.001081/0.001081, allocations: 99.52 kB / 0.7322 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.891e-05/1.891e-05, allocations: 0 / 0.8509 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8069/0.8069, allocations: 115.3 MB / 0.9634 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2675/1.074, allocations: 159.1 MB / 1.119 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/1.075, allocations: 91.94 kB / 1.119 GB, free: 13.29 MB / 0.7292 GB [/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);. [/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);. Notification: Performance of FrontEnd - DAE generated: time 0.03643/1.111, allocations: 9.441 MB / 1.128 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.954e-06/1.111, allocations: 0 / 1.128 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.012e-05/1.111, allocations: 4 kB / 1.128 GB, free: 3.836 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007578/1.112, allocations: 414.9 kB / 1.128 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/1.112, allocations: 9.156 kB / 1.129 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000682/1.113, allocations: 51 kB / 1.129 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/1.113, allocations: 222.7 kB / 1.129 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/1.113, allocations: 4 kB / 1.129 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/1.113, allocations: 8 kB / 1.129 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003698/1.114, allocations: 124.2 kB / 1.129 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004564/1.114, allocations: 206.5 kB / 1.129 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/1.114, allocations: 3.938 kB / 1.129 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/1.114, allocations: 1.688 kB / 1.129 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.374e-05/1.114, allocations: 8.281 kB / 1.129 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/1.116, allocations: 1.087 MB / 1.13 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.747e-05/1.116, allocations: 30.56 kB / 1.13 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.471e-05/1.116, allocations: 12.86 kB / 1.13 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/1.116, allocations: 3.953 kB / 1.13 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/1.116, allocations: 32.06 kB / 1.13 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 2.535e-06/1.116, allocations: 0 / 1.13 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0002071/1.116, allocations: 57.62 kB / 1.13 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/1.117, allocations: 55.41 kB / 1.13 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/1.117, allocations: 130.5 kB / 1.13 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/1.117, allocations: 25.7 kB / 1.13 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/1.117, allocations: 151.2 kB / 1.131 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/1.117, allocations: 7.906 kB / 1.131 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/1.117, allocations: 0 / 1.131 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.117, allocations: 322.8 kB / 1.131 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.149e-05/1.117, allocations: 23.94 kB / 1.131 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/1.117, allocations: 86.06 kB / 1.131 GB, free: 492 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.367e-05/1.117, allocations: 39.2 kB / 1.131 GB, free: 456 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/1.117, allocations: 0 / 1.131 GB, free: 456 kB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002764/1.118, allocations: 117.4 kB / 1.131 GB, free: 332 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004604/1.118, allocations: 0.9613 MB / 1.132 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/1.118, allocations: 4 kB / 1.132 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/1.118, allocations: 8.047 kB / 1.132 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/1.118, allocations: 23.94 kB / 1.132 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/1.118, allocations: 3.984 kB / 1.132 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/1.119, allocations: 19.83 kB / 1.132 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/1.119, allocations: 8 kB / 1.132 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/1.119, allocations: 4.625 kB / 1.132 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002126/1.119, allocations: 75.78 kB / 1.132 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/1.119, allocations: 0 / 1.132 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.47e-06/1.119, allocations: 4 kB / 1.132 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/1.119, allocations: 31.92 kB / 1.132 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/1.119, allocations: 4 kB / 1.132 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.999e-05/1.119, allocations: 15.41 kB / 1.132 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/1.119, allocations: 8.312 kB / 1.132 GB, free: 15.09 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001075/1.119, allocations: 116.7 kB / 1.132 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/1.119, allocations: 7.906 kB / 1.132 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/1.119, allocations: 16.33 kB / 1.132 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/1.119, allocations: 0 / 1.132 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/1.119, allocations: 0 / 1.132 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/1.119, allocations: 0 / 1.132 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000545/1.12, allocations: 412.9 kB / 1.133 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/1.12, allocations: 0 / 1.133 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.916e-05/1.12, allocations: 7.984 kB / 1.133 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/1.12, allocations: 0 / 1.133 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/1.12, allocations: 4 kB / 1.133 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/1.12, allocations: 0 / 1.133 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/1.12, allocations: 0 / 1.133 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/1.12, allocations: 130.1 kB / 1.133 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.086e-05/1.12, allocations: 89 kB / 1.133 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/1.12, allocations: 0 / 1.133 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.096e-05/1.121, allocations: 0 / 1.133 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/1.121, allocations: 9.266 kB / 1.133 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/1.121, allocations: 0 / 1.133 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001037/1.121, allocations: 110.3 kB / 1.133 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.21e-07/1.121, allocations: 0 / 1.133 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005438/1.121, allocations: 59.69 kB / 1.133 GB, free: 14.03 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001408/1.121, allocations: 99.23 kB / 1.133 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002649/1.122, allocations: 88.61 kB / 1.133 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.122, allocations: 448 / 1.133 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.568e-05/1.122, allocations: 19.92 kB / 1.133 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/1.122, allocations: 15.16 kB / 1.133 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005316/1.123, allocations: 173.7 kB / 1.134 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/1.123, allocations: 0.7262 MB / 1.134 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001675/1.123, allocations: 28.53 kB / 1.134 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/1.123, allocations: 11.44 kB / 1.134 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of SimCode: time 1.212e-06/1.123, allocations: 0 / 1.134 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of Templates: time 0.004053/1.127, allocations: 0.7329 MB / 1.135 GB, free: 12.12 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)