Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.281/2.281, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001405/0.001405, allocations: 172 kB / 326.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.437/2.437, allocations: 205.4 MB / 0.5772 GB, free: 21.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 93.67 kB / 0.6817 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006419/0.0006422, allocations: 15.19 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2009, allocations: 106.3 MB / 0.8995 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2585/0.4594, allocations: 153.5 MB / 1.049 GB, free: 8.262 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003554/0.4598, allocations: 95.94 kB / 1.049 GB, free: 8.168 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1/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.6518/1.112, allocations: 9.567 MB / 1.059 GB, free: 153.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.593e-06/1.112, allocations: 1.203 kB / 1.059 GB, free: 153.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.299e-05/1.112, allocations: 2.969 kB / 1.059 GB, free: 153.2 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.0005644/1.112, allocations: 433.1 kB / 1.059 GB, free: 152.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/1.112, allocations: 8.906 kB / 1.059 GB, free: 152.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005822/1.113, allocations: 47.98 kB / 1.059 GB, free: 152.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/1.113, allocations: 217.4 kB / 1.06 GB, free: 152.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/1.113, allocations: 9.719 kB / 1.06 GB, free: 152.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/1.113, allocations: 12.69 kB / 1.06 GB, free: 152.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005041/1.114, allocations: 222 kB / 1.06 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/1.114, allocations: 5.75 kB / 1.06 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/1.114, allocations: 8.516 kB / 1.06 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-05/1.114, allocations: 16.59 kB / 1.06 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/1.114, allocations: 147.6 kB / 1.06 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/1.115, allocations: 1.145 MB / 1.061 GB, free: 151.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.119e-05/1.116, allocations: 41.94 kB / 1.061 GB, free: 151.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.294e-05/1.116, allocations: 13.86 kB / 1.061 GB, free: 151.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/1.116, allocations: 0 / 1.061 GB, free: 151.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/1.116, allocations: 37.25 kB / 1.061 GB, free: 151.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 2.335e-06/1.116, allocations: 2.719 kB / 1.061 GB, free: 151.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002237/1.116, allocations: 73.41 kB / 1.061 GB, free: 151.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/1.116, allocations: 57.5 kB / 1.061 GB, free: 151.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/1.116, allocations: 169 kB / 1.061 GB, free: 151.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/1.116, allocations: 30.33 kB / 1.061 GB, free: 151.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.286e-05/1.116, allocations: 141.5 kB / 1.062 GB, free: 151.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/1.116, allocations: 17.2 kB / 1.062 GB, free: 151.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-06/1.116, allocations: 4 kB / 1.062 GB, free: 151.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.27e-05/1.116, allocations: 321.7 kB / 1.062 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.68e-05/1.116, allocations: 20.83 kB / 1.062 GB, free: 150.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.056e-05/1.116, allocations: 85.98 kB / 1.062 GB, free: 150.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.198e-05/1.117, allocations: 38.42 kB / 1.062 GB, free: 150.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.117, allocations: 0 / 1.062 GB, free: 150.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002635/1.117, allocations: 137.4 kB / 1.062 GB, free: 150.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.236e-05/1.117, allocations: 167.4 kB / 1.062 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/1.117, allocations: 3.406 kB / 1.062 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/1.117, allocations: 3.109 kB / 1.062 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/1.117, allocations: 24.12 kB / 1.062 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/1.117, allocations: 10.7 kB / 1.062 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/1.117, allocations: 20.16 kB / 1.062 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/1.117, allocations: 6.344 kB / 1.062 GB, free: 150.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.216e-06/1.117, allocations: 4.438 kB / 1.062 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002462/1.118, allocations: 94.78 kB / 1.062 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/1.118, allocations: 2.562 kB / 1.062 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.324e-06/1.118, allocations: 7.812 kB / 1.062 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/1.118, allocations: 29.95 kB / 1.063 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/1.118, allocations: 7.5 kB / 1.063 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.717e-05/1.118, allocations: 17.97 kB / 1.063 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/1.118, allocations: 6.812 kB / 1.063 GB, free: 150.4 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.0001306/1.118, allocations: 213.9 kB / 1.063 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/1.118, allocations: 9.906 kB / 1.063 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.048e-05/1.118, allocations: 15.95 kB / 1.063 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/1.118, allocations: 6.781 kB / 1.063 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.118, allocations: 0 / 1.063 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/1.118, allocations: 6.422 kB / 1.063 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004928/1.119, allocations: 464.6 kB / 1.063 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/1.119, allocations: 2.781 kB / 1.063 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.522e-05/1.119, allocations: 6.406 kB / 1.063 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/1.119, allocations: 8.781 kB / 1.063 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/1.119, allocations: 2.906 kB / 1.063 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.738e-06/1.119, allocations: 3.938 kB / 1.063 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.119, allocations: 4.781 kB / 1.063 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/1.119, allocations: 115.5 kB / 1.063 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.78e-05/1.119, allocations: 95.98 kB / 1.063 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/1.119, allocations: 0.6094 kB / 1.063 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.843e-05/1.119, allocations: 2.875 kB / 1.063 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/1.119, allocations: 2.766 kB / 1.063 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/1.119, allocations: 3.656 kB / 1.063 GB, free: 149.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001135/1.119, allocations: 127.2 kB / 1.064 GB, free: 149.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.119, allocations: 0 / 1.064 GB, free: 149.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004519/1.12, allocations: 51.16 kB / 1.064 GB, free: 149.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001114/1.12, allocations: 114.1 kB / 1.064 GB, free: 149.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002619/1.12, allocations: 102.9 kB / 1.064 GB, free: 149.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.12, allocations: 2 kB / 1.064 GB, free: 149.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.096e-05/1.12, allocations: 21.02 kB / 1.064 GB, free: 149.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/1.121, allocations: 28.89 kB / 1.064 GB, free: 149.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000611/1.121, allocations: 321.3 kB / 1.064 GB, free: 149.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/1.122, allocations: 0.7191 MB / 1.065 GB, free: 148.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001612/1.122, allocations: 28.52 kB / 1.065 GB, free: 148.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.098e-05/1.122, allocations: 17.03 kB / 1.065 GB, free: 148.5 MB / 0.698 GB Notification: Performance of SimCode: time 7.62e-07/1.122, allocations: 3.938 kB / 1.065 GB, free: 148.5 MB / 0.698 GB Notification: Performance of Templates: time 0.004257/1.126, allocations: 0.7847 MB / 1.066 GB, free: 148.4 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)