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.612/1.612, allocations: 289.7 MB / 302.2 MB, free: 2.152 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.001127/0.001127, allocations: 185.9 kB / 371.6 MB, free: 3.359 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.581/1.581, allocations: 205.1 MB / 0.6309 GB, free: 11.73 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.001045/0.001045, allocations: 93.92 kB / 0.745 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.617e-05/3.619e-05, allocations: 4 kB / 0.8662 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2522, allocations: 116.3 MB / 0.9798 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8528/1.105, allocations: 160.9 MB / 1.137 GB, free: 29.24 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/1.105, allocations: 86.53 kB / 1.137 GB, free: 29.21 MB / 0.7448 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.0203/1.126, allocations: 9.479 MB / 1.146 GB, free: 24.4 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.773e-06/1.126, allocations: 0 / 1.146 GB, free: 24.4 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.173e-05/1.126, allocations: 0 / 1.146 GB, free: 24.4 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.0004808/1.126, allocations: 420.5 kB / 1.147 GB, free: 23.97 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/1.126, allocations: 8.594 kB / 1.147 GB, free: 23.96 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004076/1.127, allocations: 51.39 kB / 1.147 GB, free: 23.93 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/1.127, allocations: 218.1 kB / 1.147 GB, free: 23.7 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/1.127, allocations: 11.66 kB / 1.147 GB, free: 23.69 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/1.127, allocations: 11.81 kB / 1.147 GB, free: 23.68 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00032/1.127, allocations: 220 kB / 1.147 GB, free: 23.52 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/1.127, allocations: 1.031 kB / 1.147 GB, free: 23.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/1.127, allocations: 7.797 kB / 1.147 GB, free: 23.52 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.195e-05/1.127, allocations: 18.25 kB / 1.147 GB, free: 23.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/1.128, allocations: 139.5 kB / 1.147 GB, free: 23.43 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009087/1.128, allocations: 1.141 MB / 1.148 GB, free: 22.32 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.737e-05/1.129, allocations: 22.8 kB / 1.148 GB, free: 22.29 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.652e-05/1.129, allocations: 13.58 kB / 1.148 GB, free: 22.28 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-06/1.129, allocations: 11.95 kB / 1.148 GB, free: 22.27 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/1.129, allocations: 31.08 kB / 1.148 GB, free: 22.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/1.129, allocations: 0 / 1.148 GB, free: 22.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001448/1.129, allocations: 64.8 kB / 1.149 GB, free: 22.17 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/1.129, allocations: 52.06 kB / 1.149 GB, free: 22.11 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/1.129, allocations: 161.9 kB / 1.149 GB, free: 21.96 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/1.129, allocations: 29.88 kB / 1.149 GB, free: 21.93 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/1.129, allocations: 145.9 kB / 1.149 GB, free: 21.8 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.598e-06/1.129, allocations: 9.875 kB / 1.149 GB, free: 21.8 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/1.129, allocations: 3.438 kB / 1.149 GB, free: 21.8 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.849e-05/1.129, allocations: 321.3 kB / 1.149 GB, free: 21.48 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.3e-05/1.129, allocations: 26.17 kB / 1.149 GB, free: 21.46 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.401e-05/1.129, allocations: 88.19 kB / 1.149 GB, free: 21.36 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.862e-05/1.129, allocations: 39.06 kB / 1.149 GB, free: 21.33 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.129, allocations: 0 / 1.149 GB, free: 21.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001736/1.13, allocations: 127.8 kB / 1.15 GB, free: 21.23 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001868/1.13, allocations: 0.9633 MB / 1.15 GB, free: 20.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/1.13, allocations: 12.47 kB / 1.15 GB, free: 20.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/1.13, allocations: 4 kB / 1.15 GB, free: 20.19 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/1.13, allocations: 25.98 kB / 1.15 GB, free: 20.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/1.13, allocations: 5.688 kB / 1.151 GB, free: 20.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.812e-05/1.13, allocations: 15.84 kB / 1.151 GB, free: 20.15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/1.13, allocations: 4.516 kB / 1.151 GB, free: 20.15 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.011e-06/1.13, allocations: 4 kB / 1.151 GB, free: 20.14 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001261/1.13, allocations: 103.1 kB / 1.151 GB, free: 20.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-06/1.13, allocations: 0 / 1.151 GB, free: 20.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.677e-06/1.13, allocations: 4 kB / 1.151 GB, free: 20.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.951e-05/1.13, allocations: 22.95 kB / 1.151 GB, free: 20.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/1.13, allocations: 8.641 kB / 1.151 GB, free: 20.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.326e-05/1.13, allocations: 15.34 kB / 1.151 GB, free: 20.03 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/1.13, allocations: 9.562 kB / 1.151 GB, free: 20.02 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 4.954e-05/1.13, allocations: 111 kB / 1.151 GB, free: 19.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/1.13, allocations: 20.56 kB / 1.151 GB, free: 19.89 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.601e-05/1.13, allocations: 9.609 kB / 1.151 GB, free: 19.89 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/1.13, allocations: 4.938 kB / 1.151 GB, free: 19.88 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.13, allocations: 0 / 1.151 GB, free: 19.88 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/1.13, allocations: 0 / 1.151 GB, free: 19.88 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/1.131, allocations: 457.7 kB / 1.151 GB, free: 19.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/1.131, allocations: 1.281 kB / 1.151 GB, free: 19.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.343e-05/1.131, allocations: 8.703 kB / 1.151 GB, free: 19.42 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/1.131, allocations: 4.656 kB / 1.151 GB, free: 19.41 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.892e-06/1.131, allocations: 3.5 kB / 1.151 GB, free: 19.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/1.131, allocations: 0.6562 kB / 1.151 GB, free: 19.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/1.131, allocations: 0 / 1.151 GB, free: 19.41 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.936e-05/1.131, allocations: 129.9 kB / 1.151 GB, free: 19.27 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.645e-05/1.131, allocations: 91.73 kB / 1.151 GB, free: 19.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/1.131, allocations: 7.953 kB / 1.151 GB, free: 19.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.292e-05/1.131, allocations: 2.078 kB / 1.151 GB, free: 19.15 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/1.131, allocations: 8.438 kB / 1.152 GB, free: 19.15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/1.131, allocations: 0 / 1.152 GB, free: 19.15 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.054e-05/1.131, allocations: 121 kB / 1.152 GB, free: 19.05 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/1.131, allocations: 4 kB / 1.152 GB, free: 19.04 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002996/1.132, allocations: 57.66 kB / 1.152 GB, free: 18.99 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.0001066/1.132, allocations: 96.42 kB / 1.152 GB, free: 18.89 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001692/1.132, allocations: 102.9 kB / 1.152 GB, free: 18.81 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.132, allocations: 4 kB / 1.152 GB, free: 18.81 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.078e-05/1.132, allocations: 17.31 kB / 1.152 GB, free: 18.8 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/1.132, allocations: 17.45 kB / 1.152 GB, free: 18.79 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/1.132, allocations: 172.3 kB / 1.152 GB, free: 18.63 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/1.133, allocations: 0.7246 MB / 1.153 GB, free: 17.91 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001131/1.133, allocations: 39.52 kB / 1.153 GB, free: 17.89 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.015e-05/1.133, allocations: 11.44 kB / 1.153 GB, free: 17.88 MB / 0.7448 GB Notification: Performance of SimCode: time 3e-07/1.133, allocations: 0 / 1.153 GB, free: 17.88 MB / 0.7448 GB Notification: Performance of Templates: time 0.003094/1.136, allocations: 0.8627 MB / 1.154 GB, free: 17.36 MB / 0.7448 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)