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.902/1.902, allocations: 288.3 MB / 303.2 MB, free: 8.176 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.001019/0.001019, allocations: 185 kB / 371.9 MB, free: 10.24 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.625/1.625, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 99.41 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004251/0.0004251, allocations: 14.28 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2563, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8354/1.092, allocations: 160 MB / 1.136 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/1.092, allocations: 87.98 kB / 1.136 GB, free: 15.43 MB / 0.6823 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.0187/1.111, allocations: 9.553 MB / 1.145 GB, free: 27.58 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.112e-06/1.111, allocations: 4 kB / 1.145 GB, free: 27.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.155e-05/1.111, allocations: 3.969 kB / 1.145 GB, free: 27.57 MB / 0.698 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.0005336/1.111, allocations: 421.3 kB / 1.145 GB, free: 27.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/1.111, allocations: 15.7 kB / 1.146 GB, free: 27.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004112/1.112, allocations: 42.66 kB / 1.146 GB, free: 27.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/1.112, allocations: 225.6 kB / 1.146 GB, free: 26.91 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/1.112, allocations: 13.38 kB / 1.146 GB, free: 26.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/1.112, allocations: 14.41 kB / 1.146 GB, free: 26.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/1.113, allocations: 218.5 kB / 1.146 GB, free: 26.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/1.113, allocations: 3.938 kB / 1.146 GB, free: 26.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/1.113, allocations: 15.22 kB / 1.146 GB, free: 26.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/1.113, allocations: 11.95 kB / 1.146 GB, free: 26.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/1.113, allocations: 142.5 kB / 1.146 GB, free: 26.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/1.114, allocations: 1.143 MB / 1.147 GB, free: 25.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.976e-05/1.114, allocations: 29.53 kB / 1.147 GB, free: 25.67 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/1.114, allocations: 0 / 1.147 GB, free: 25.67 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/1.114, allocations: 38.39 kB / 1.147 GB, free: 25.63 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/1.114, allocations: 0 / 1.147 GB, free: 25.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001884/1.114, allocations: 67.7 kB / 1.147 GB, free: 25.58 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/1.114, allocations: 51.41 kB / 1.147 GB, free: 25.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/1.114, allocations: 168.4 kB / 1.148 GB, free: 25.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/1.114, allocations: 25.7 kB / 1.148 GB, free: 25.38 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.472e-05/1.114, allocations: 145.6 kB / 1.148 GB, free: 25.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.004e-05/1.114, allocations: 10.94 kB / 1.148 GB, free: 25.24 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/1.114, allocations: 3.25 kB / 1.148 GB, free: 25.24 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001177/1.115, allocations: 322.5 kB / 1.148 GB, free: 24.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.376e-05/1.115, allocations: 23.58 kB / 1.148 GB, free: 24.92 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.648e-05/1.115, allocations: 83.12 kB / 1.148 GB, free: 24.83 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.515e-05/1.115, allocations: 38.27 kB / 1.148 GB, free: 24.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.115, allocations: 3.781 kB / 1.148 GB, free: 24.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001672/1.115, allocations: 131.4 kB / 1.148 GB, free: 24.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003643/1.115, allocations: 0.9628 MB / 1.149 GB, free: 23.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/1.115, allocations: 0 / 1.149 GB, free: 23.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/1.115, allocations: 7.828 kB / 1.149 GB, free: 23.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/1.115, allocations: 27.05 kB / 1.149 GB, free: 23.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/1.115, allocations: 3.938 kB / 1.149 GB, free: 23.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.291e-05/1.116, allocations: 19.44 kB / 1.149 GB, free: 23.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/1.116, allocations: 11.62 kB / 1.149 GB, free: 23.72 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.761e-06/1.116, allocations: 3.844 kB / 1.149 GB, free: 23.72 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001163/1.116, allocations: 98.94 kB / 1.149 GB, free: 23.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/1.116, allocations: 3.812 kB / 1.149 GB, free: 23.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.326e-06/1.116, allocations: 7.844 kB / 1.149 GB, free: 23.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.488e-05/1.116, allocations: 23.38 kB / 1.15 GB, free: 23.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/1.116, allocations: 4.219 kB / 1.15 GB, free: 23.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.724e-05/1.116, allocations: 19.73 kB / 1.15 GB, free: 23.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/1.116, allocations: 7.062 kB / 1.15 GB, free: 23.67 MB / 0.698 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 0.0001293/1.116, allocations: 217.4 kB / 1.15 GB, free: 23.47 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/1.116, allocations: 11.75 kB / 1.15 GB, free: 23.46 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.229e-05/1.116, allocations: 15.89 kB / 1.15 GB, free: 23.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/1.116, allocations: 0 / 1.15 GB, free: 23.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/1.116, allocations: 0 / 1.15 GB, free: 23.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/1.116, allocations: 0 / 1.15 GB, free: 23.45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003709/1.116, allocations: 462.7 kB / 1.15 GB, free: 23.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.117, allocations: 3.938 kB / 1.15 GB, free: 23.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.332e-05/1.117, allocations: 3.875 kB / 1.15 GB, free: 23.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/1.117, allocations: 0 / 1.15 GB, free: 23.01 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/1.117, allocations: 3.844 kB / 1.15 GB, free: 23.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/1.117, allocations: 0 / 1.15 GB, free: 23.01 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.117, allocations: 3.984 kB / 1.15 GB, free: 23.01 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.489e-05/1.117, allocations: 126.2 kB / 1.15 GB, free: 22.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.714e-05/1.117, allocations: 84.89 kB / 1.15 GB, free: 22.78 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/1.117, allocations: 15.36 kB / 1.15 GB, free: 22.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.313e-05/1.117, allocations: 7.922 kB / 1.15 GB, free: 22.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.646e-05/1.117, allocations: 4 kB / 1.15 GB, free: 22.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/1.117, allocations: 3.844 kB / 1.15 GB, free: 22.76 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.432e-05/1.117, allocations: 129.6 kB / 1.151 GB, free: 22.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/1.117, allocations: 0 / 1.151 GB, free: 22.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003145/1.117, allocations: 61.31 kB / 1.151 GB, free: 22.66 MB / 0.698 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.0001045/1.117, allocations: 98.58 kB / 1.151 GB, free: 22.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001713/1.118, allocations: 101.4 kB / 1.151 GB, free: 22.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.118, allocations: 0 / 1.151 GB, free: 22.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.722e-05/1.118, allocations: 14.92 kB / 1.151 GB, free: 22.54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/1.118, allocations: 24.53 kB / 1.151 GB, free: 22.54 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004408/1.118, allocations: 309.9 kB / 1.151 GB, free: 22.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/1.119, allocations: 0.7292 MB / 1.152 GB, free: 21.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.726e-05/1.119, allocations: 23.97 kB / 1.152 GB, free: 21.56 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/1.119, allocations: 19.09 kB / 1.152 GB, free: 21.55 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/1.119, allocations: 0 / 1.152 GB, free: 21.55 MB / 0.698 GB Notification: Performance of Templates: time 0.002927/1.122, allocations: 0.764 MB / 1.153 GB, free: 21.19 MB / 0.698 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)