Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.701/1.701, allocations: 285.4 MB / 298 MB, free: 5.992 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001151/0.00115, allocations: 188.8 kB / 366.4 MB, free: 2.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.1 MB / 0.6248 GB, free: 7.758 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008984/0.0008982, allocations: 93.5 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.119e-05/3.121e-05, allocations: 4 kB / 0.8583 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6812/0.6812, allocations: 115.3 MB / 0.9709 GB, free: 77.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2087/0.8899, allocations: 159.9 MB / 1.127 GB, free: 7.855 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.8902, allocations: 87.95 kB / 1.127 GB, free: 7.77 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.02044/0.9106, allocations: 9.476 MB / 1.136 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9107, allocations: 1.188 kB / 1.136 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.9107, allocations: 4 kB / 1.136 GB, free: 14.27 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.0004603/0.9112, allocations: 419.1 kB / 1.137 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.9112, allocations: 8.562 kB / 1.137 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003947/0.9116, allocations: 49.67 kB / 1.137 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.9119, allocations: 219.6 kB / 1.137 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.9119, allocations: 12.16 kB / 1.137 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.9119, allocations: 16 kB / 1.137 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003373/0.9123, allocations: 216.2 kB / 1.137 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.9123, allocations: 0 / 1.137 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.9123, allocations: 11.98 kB / 1.137 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.723e-05/0.9123, allocations: 10.16 kB / 1.137 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002209/0.9126, allocations: 147.2 kB / 1.137 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009941/0.9136, allocations: 1.134 MB / 1.139 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.911e-05/0.9136, allocations: 26.58 kB / 1.139 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.772e-05/0.9137, allocations: 16.94 kB / 1.139 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.036e-06/0.9137, allocations: 3.953 kB / 1.139 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.9137, allocations: 34.5 kB / 1.139 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.9137, allocations: 0 / 1.139 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001381/0.9139, allocations: 65.5 kB / 1.139 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.9139, allocations: 51.41 kB / 1.139 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.9141, allocations: 160.3 kB / 1.139 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.9141, allocations: 29.7 kB / 1.139 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.03e-05/0.9142, allocations: 143.3 kB / 1.139 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.057e-05/0.9142, allocations: 7.906 kB / 1.139 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/0.9142, allocations: 4 kB / 1.139 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.9143, allocations: 326.8 kB / 1.139 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.303e-05/0.9143, allocations: 16 kB / 1.139 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.215e-05/0.9144, allocations: 91.25 kB / 1.139 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.864e-05/0.9145, allocations: 35.98 kB / 1.14 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.9145, allocations: 0 / 1.14 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001829/0.9147, allocations: 135.3 kB / 1.14 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003222/0.915, allocations: 0.9641 MB / 1.141 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.915, allocations: 3.953 kB / 1.141 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.915, allocations: 4 kB / 1.141 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.9152, allocations: 27.92 kB / 1.141 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.9152, allocations: 4 kB / 1.141 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.9153, allocations: 22.38 kB / 1.141 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.9153, allocations: 8 kB / 1.141 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.083e-06/0.9153, allocations: 4 kB / 1.141 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001323/0.9154, allocations: 103.8 kB / 1.141 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.9154, allocations: 4 kB / 1.141 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.318e-06/0.9155, allocations: 4 kB / 1.141 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.141e-05/0.9155, allocations: 23.94 kB / 1.141 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.9155, allocations: 9.469 kB / 1.141 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.602e-05/0.9156, allocations: 7.938 kB / 1.141 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-06/0.9156, allocations: 4.312 kB / 1.141 GB, free: 9.332 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 6.365e-05/0.9157, allocations: 120.9 kB / 1.141 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.9157, allocations: 11.81 kB / 1.141 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.565e-05/0.9158, allocations: 12.94 kB / 1.141 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.9158, allocations: 0 / 1.141 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.9158, allocations: 0 / 1.141 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.9158, allocations: 5.672 kB / 1.141 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003637/0.9162, allocations: 460.3 kB / 1.141 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.9162, allocations: 3.984 kB / 1.141 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.447e-05/0.9162, allocations: 4 kB / 1.141 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.9162, allocations: 0 / 1.141 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.9162, allocations: 0 / 1.141 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.9162, allocations: 4 kB / 1.141 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.9162, allocations: 9.875 kB / 1.141 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.9164, allocations: 122.2 kB / 1.142 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.568e-05/0.9164, allocations: 92.91 kB / 1.142 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.9165, allocations: 3.953 kB / 1.142 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.225e-05/0.9165, allocations: 4 kB / 1.142 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.407e-05/0.9165, allocations: 4 kB / 1.142 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.9165, allocations: 4 kB / 1.142 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.314e-05/0.9166, allocations: 132.9 kB / 1.142 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9166, allocations: 0 / 1.142 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003237/0.917, allocations: 51.84 kB / 1.142 GB, free: 8.18 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.0001115/0.9171, allocations: 107.2 kB / 1.142 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001747/0.9173, allocations: 102.4 kB / 1.142 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.9173, allocations: 0 / 1.142 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.069e-05/0.9173, allocations: 15.94 kB / 1.142 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.9175, allocations: 17.53 kB / 1.142 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003229/0.9178, allocations: 168.2 kB / 1.142 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.9181, allocations: 0.7324 MB / 1.143 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000109/0.9182, allocations: 35.47 kB / 1.143 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.858e-05/0.9182, allocations: 15.44 kB / 1.143 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of SimCode: time 3.51e-07/0.9182, allocations: 0 / 1.143 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of Templates: time 0.002781/0.921, allocations: 0.8786 MB / 1.144 GB, free: 6.113 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)