Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.731/1.731, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.001276/0.001276, allocations: 180 kB / 377.1 MB, free: 1.516 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.944/1.944, allocations: 205.4 MB / 0.6367 GB, free: 9.566 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.0009557/0.0009557, allocations: 88.61 kB / 0.751 GB, free: 62.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003365/0.0003365, allocations: 15.98 kB / 0.8748 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3031, allocations: 116.3 MB / 0.9884 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8189/1.122, allocations: 161 MB / 1.146 GB, free: 18.11 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/1.122, allocations: 90.2 kB / 1.146 GB, free: 18.04 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.02229/1.145, allocations: 9.566 MB / 1.155 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.51e-07/1.145, allocations: 0 / 1.155 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.195e-05/1.145, allocations: 8 kB / 1.155 GB, free: 11.24 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.000433/1.145, allocations: 427.1 kB / 1.155 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/1.145, allocations: 8.031 kB / 1.155 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003774/1.146, allocations: 47.11 kB / 1.155 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/1.146, allocations: 219.1 kB / 1.156 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/1.146, allocations: 12.78 kB / 1.156 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/1.146, allocations: 15.98 kB / 1.156 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/1.146, allocations: 222.3 kB / 1.156 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/1.146, allocations: 0 / 1.156 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/1.146, allocations: 8 kB / 1.156 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.678e-05/1.146, allocations: 9.734 kB / 1.156 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/1.146, allocations: 152.4 kB / 1.156 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009128/1.147, allocations: 1.15 MB / 1.157 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.639e-05/1.147, allocations: 23.75 kB / 1.157 GB, free: 8.91 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.421e-06/1.147, allocations: 0 / 1.157 GB, free: 8.91 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/1.147, allocations: 43.62 kB / 1.157 GB, free: 8.859 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/1.147, allocations: 0 / 1.157 GB, free: 8.859 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001502/1.148, allocations: 67.75 kB / 1.157 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/1.148, allocations: 51.41 kB / 1.157 GB, free: 8.73 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/1.148, allocations: 165.4 kB / 1.158 GB, free: 8.574 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/1.148, allocations: 29.7 kB / 1.158 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/1.148, allocations: 143.4 kB / 1.158 GB, free: 8.402 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.288e-06/1.148, allocations: 9.578 kB / 1.158 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/1.148, allocations: 8 kB / 1.158 GB, free: 8.387 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.202e-05/1.148, allocations: 318.3 kB / 1.158 GB, free: 8.07 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.243e-05/1.148, allocations: 19.28 kB / 1.158 GB, free: 8.055 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.003e-05/1.148, allocations: 89.94 kB / 1.158 GB, free: 7.938 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.301e-05/1.148, allocations: 38.91 kB / 1.158 GB, free: 7.902 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.148, allocations: 0 / 1.158 GB, free: 7.902 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001563/1.148, allocations: 133.8 kB / 1.158 GB, free: 7.777 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001715/1.148, allocations: 0.9625 MB / 1.159 GB, free: 6.742 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.148, allocations: 4 kB / 1.159 GB, free: 6.738 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/1.148, allocations: 7.953 kB / 1.159 GB, free: 6.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/1.149, allocations: 27.17 kB / 1.159 GB, free: 6.707 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/1.149, allocations: 6.438 kB / 1.159 GB, free: 6.703 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.137e-05/1.149, allocations: 15.78 kB / 1.159 GB, free: 6.688 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/1.149, allocations: 8 kB / 1.159 GB, free: 6.68 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.831e-06/1.149, allocations: 8 kB / 1.159 GB, free: 6.672 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001156/1.149, allocations: 94.77 kB / 1.159 GB, free: 6.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-06/1.149, allocations: 4 kB / 1.159 GB, free: 6.586 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.557e-06/1.149, allocations: 4 kB / 1.159 GB, free: 6.582 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.206e-05/1.149, allocations: 27.53 kB / 1.159 GB, free: 6.559 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/1.149, allocations: 5.5 kB / 1.159 GB, free: 6.555 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.671e-05/1.149, allocations: 16.2 kB / 1.159 GB, free: 6.539 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/1.149, allocations: 15.94 kB / 1.159 GB, free: 6.523 MB / 0.7292 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 () * Number of clocked 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 9.585e-05/1.149, allocations: 216.3 kB / 1.16 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/1.149, allocations: 9.359 kB / 1.16 GB, free: 6.297 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.812e-05/1.149, allocations: 14.16 kB / 1.16 GB, free: 6.281 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/1.149, allocations: 0 / 1.16 GB, free: 6.281 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.149, allocations: 1.438 kB / 1.16 GB, free: 6.281 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.149, allocations: 1.031 kB / 1.16 GB, free: 6.281 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/1.149, allocations: 459.1 kB / 1.16 GB, free: 5.793 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.15, allocations: 1.312 kB / 1.16 GB, free: 5.793 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.257e-05/1.15, allocations: 4 kB / 1.16 GB, free: 5.789 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.15, allocations: 7.938 kB / 1.16 GB, free: 5.781 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/1.15, allocations: 0 / 1.16 GB, free: 5.781 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/1.15, allocations: 5.438 kB / 1.16 GB, free: 5.777 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/1.15, allocations: 0 / 1.16 GB, free: 5.777 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.489e-05/1.15, allocations: 124.4 kB / 1.16 GB, free: 5.625 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/1.15, allocations: 94.84 kB / 1.16 GB, free: 5.516 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/1.15, allocations: 4.891 kB / 1.16 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.4e-05/1.15, allocations: 1.875 kB / 1.16 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/1.15, allocations: 8 kB / 1.16 GB, free: 5.504 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/1.15, allocations: 0 / 1.16 GB, free: 5.504 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.881e-05/1.15, allocations: 130.6 kB / 1.16 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/1.15, allocations: 0 / 1.16 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003091/1.15, allocations: 55.75 kB / 1.161 GB, free: 5.332 MB / 0.7292 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 () * Number of clocked 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.0001007/1.15, allocations: 100.6 kB / 1.161 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001557/1.15, allocations: 103.1 kB / 1.161 GB, free: 5.137 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.15, allocations: 0 / 1.161 GB, free: 5.137 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.69e-05/1.15, allocations: 17.39 kB / 1.161 GB, free: 5.121 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/1.151, allocations: 20.02 kB / 1.161 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/1.151, allocations: 312 kB / 1.161 GB, free: 4.805 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/1.151, allocations: 0.7301 MB / 1.162 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.609e-05/1.151, allocations: 25.05 kB / 1.162 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.367e-05/1.151, allocations: 20.69 kB / 1.162 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of SimCode: time 3.3e-07/1.151, allocations: 0 / 1.162 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of Templates: time 0.002862/1.154, allocations: 0.7575 MB / 1.163 GB, free: 3.574 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)