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.442/2.442, allocations: 284.8 MB / 297.3 MB, free: 6.277 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.001452/0.001452, allocations: 188.8 kB / 365.7 MB, free: 2.543 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.968/1.968, allocations: 205.1 MB / 0.6241 GB, free: 8.18 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.001068/0.001068, allocations: 98.5 kB / 0.7372 GB, free: 40.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.728e-05/2.731e-05, allocations: 3.984 kB / 0.8574 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8093/0.8093, allocations: 115.2 MB / 0.97 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2631/1.072, allocations: 159.7 MB / 1.126 GB, free: 8.625 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/1.073, allocations: 87.95 kB / 1.126 GB, free: 8.539 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.03444/1.107, allocations: 9.479 MB / 1.135 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.729e-06/1.107, allocations: 6.547 kB / 1.135 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.663e-05/1.107, allocations: 4 kB / 1.135 GB, free: 15.02 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.00062/1.108, allocations: 418.3 kB / 1.136 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/1.108, allocations: 8.031 kB / 1.136 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005893/1.109, allocations: 47.59 kB / 1.136 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/1.109, allocations: 222.8 kB / 1.136 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/1.109, allocations: 14.47 kB / 1.136 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.881e-05/1.109, allocations: 12 kB / 1.136 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004973/1.11, allocations: 209.9 kB / 1.136 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/1.11, allocations: 7.922 kB / 1.136 GB, free: 14 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/1.11, allocations: 11.98 kB / 1.136 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.879e-05/1.11, allocations: 8.281 kB / 1.136 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000363/1.11, allocations: 142.8 kB / 1.136 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/1.112, allocations: 1.149 MB / 1.137 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.431e-05/1.112, allocations: 30.53 kB / 1.138 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.878e-05/1.112, allocations: 8.859 kB / 1.138 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/1.112, allocations: 4.078 kB / 1.138 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/1.112, allocations: 34.56 kB / 1.138 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 2.765e-06/1.112, allocations: 0 / 1.138 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002023/1.112, allocations: 65.44 kB / 1.138 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/1.112, allocations: 55.41 kB / 1.138 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/1.112, allocations: 160.3 kB / 1.138 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/1.112, allocations: 25.7 kB / 1.138 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/1.112, allocations: 143.3 kB / 1.138 GB, free: 12 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/1.112, allocations: 7.906 kB / 1.138 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.697e-06/1.112, allocations: 4 kB / 1.138 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001457/1.113, allocations: 322.8 kB / 1.138 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.161e-05/1.113, allocations: 16 kB / 1.138 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/1.113, allocations: 99.19 kB / 1.138 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.761e-05/1.113, allocations: 31.98 kB / 1.138 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.113, allocations: 0 / 1.138 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003037/1.113, allocations: 141.4 kB / 1.139 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003868/1.114, allocations: 0.9601 MB / 1.14 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.114, allocations: 0 / 1.14 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/1.114, allocations: 6.531 kB / 1.14 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/1.114, allocations: 27.92 kB / 1.14 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/1.114, allocations: 4 kB / 1.14 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/1.114, allocations: 23.75 kB / 1.14 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/1.114, allocations: 8 kB / 1.14 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/1.114, allocations: 5.094 kB / 1.14 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002282/1.114, allocations: 95.7 kB / 1.14 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/1.114, allocations: 4 kB / 1.14 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.104e-06/1.114, allocations: 4 kB / 1.14 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/1.114, allocations: 26.69 kB / 1.14 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/1.115, allocations: 11.98 kB / 1.14 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.893e-05/1.115, allocations: 7.938 kB / 1.14 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/1.115, allocations: 8 kB / 1.14 GB, free: 10.08 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 8.476e-05/1.115, allocations: 112.9 kB / 1.14 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/1.115, allocations: 11.81 kB / 1.14 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.464e-05/1.115, allocations: 12.94 kB / 1.14 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/1.115, allocations: 0 / 1.14 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.115, allocations: 0 / 1.14 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/1.115, allocations: 4 kB / 1.14 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005484/1.115, allocations: 460.2 kB / 1.14 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/1.115, allocations: 0 / 1.14 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.766e-05/1.116, allocations: 7.984 kB / 1.14 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/1.116, allocations: 0 / 1.14 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/1.116, allocations: 4 kB / 1.14 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/1.116, allocations: 0 / 1.14 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.116, allocations: 4.047 kB / 1.14 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/1.116, allocations: 126.2 kB / 1.14 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.954e-05/1.116, allocations: 99.56 kB / 1.141 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/1.116, allocations: 11.95 kB / 1.141 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.764e-05/1.116, allocations: 5.375 kB / 1.141 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/1.116, allocations: 0 / 1.141 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/1.116, allocations: 4 kB / 1.141 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001407/1.116, allocations: 132.9 kB / 1.141 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.31e-07/1.116, allocations: 0 / 1.141 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004762/1.117, allocations: 55.84 kB / 1.141 GB, free: 8.926 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.0001298/1.117, allocations: 95.25 kB / 1.141 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002741/1.117, allocations: 103.7 kB / 1.141 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/1.117, allocations: 0 / 1.141 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.142e-05/1.117, allocations: 15.94 kB / 1.141 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/1.117, allocations: 19.38 kB / 1.141 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004603/1.118, allocations: 172.2 kB / 1.141 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/1.118, allocations: 0.7282 MB / 1.142 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000186/1.118, allocations: 36.73 kB / 1.142 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/1.118, allocations: 11.44 kB / 1.142 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of SimCode: time 8.02e-07/1.118, allocations: 0 / 1.142 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of Templates: time 0.004353/1.123, allocations: 0.8622 MB / 1.143 GB, free: 6.875 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)