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.908/1.908, allocations: 288.4 MB / 304.3 MB, free: 8.098 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.001301/0.001301, allocations: 177.6 kB / 372.9 MB, free: 10.15 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.456/1.456, allocations: 205.4 MB / 0.6317 GB, free: 9.906 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.0008886/0.0008886, allocations: 92.97 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004004/0.0004004, allocations: 15.38 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2212, allocations: 115.3 MB / 0.9807 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7893/1.011, allocations: 160 MB / 1.137 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/1.011, allocations: 92.84 kB / 1.137 GB, free: 15.47 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.01956/1.03, allocations: 9.562 MB / 1.146 GB, free: 27.62 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/1.031, allocations: 3.938 kB / 1.146 GB, free: 27.62 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.752e-05/1.031, allocations: 3.844 kB / 1.146 GB, free: 27.62 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.0005878/1.031, allocations: 426.6 kB / 1.147 GB, free: 27.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/1.031, allocations: 7.844 kB / 1.147 GB, free: 27.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004602/1.032, allocations: 51.45 kB / 1.147 GB, free: 27.18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/1.032, allocations: 218.3 kB / 1.147 GB, free: 26.96 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/1.032, allocations: 11.75 kB / 1.147 GB, free: 26.96 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/1.032, allocations: 15.34 kB / 1.147 GB, free: 26.96 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/1.032, allocations: 222 kB / 1.147 GB, free: 26.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/1.032, allocations: 4.125 kB / 1.147 GB, free: 26.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/1.032, allocations: 19.58 kB / 1.147 GB, free: 26.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.592e-05/1.032, allocations: 11.92 kB / 1.147 GB, free: 26.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/1.033, allocations: 148.2 kB / 1.148 GB, free: 26.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/1.034, allocations: 1.139 MB / 1.149 GB, free: 25.74 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.098e-05/1.034, allocations: 23.41 kB / 1.149 GB, free: 25.71 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.482e-05/1.034, allocations: 16.05 kB / 1.149 GB, free: 25.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-06/1.034, allocations: 0 / 1.149 GB, free: 25.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/1.034, allocations: 34.56 kB / 1.149 GB, free: 25.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.874e-06/1.034, allocations: 0 / 1.149 GB, free: 25.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001911/1.034, allocations: 78.42 kB / 1.149 GB, free: 25.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/1.034, allocations: 55.34 kB / 1.149 GB, free: 25.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/1.034, allocations: 176.7 kB / 1.149 GB, free: 25.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/1.034, allocations: 25.7 kB / 1.149 GB, free: 25.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.686e-05/1.034, allocations: 149.2 kB / 1.149 GB, free: 25.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.047e-05/1.034, allocations: 7.75 kB / 1.149 GB, free: 25.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-06/1.034, allocations: 7.875 kB / 1.149 GB, free: 25.26 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001126/1.035, allocations: 321.7 kB / 1.149 GB, free: 24.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.764e-05/1.035, allocations: 18.83 kB / 1.149 GB, free: 24.94 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.291e-05/1.035, allocations: 86.72 kB / 1.15 GB, free: 24.85 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/1.035, allocations: 126.2 kB / 1.15 GB, free: 24.74 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.035, allocations: 0 / 1.15 GB, free: 24.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001795/1.035, allocations: 130.8 kB / 1.15 GB, free: 24.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001219/1.035, allocations: 172.1 kB / 1.15 GB, free: 24.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/1.035, allocations: 0 / 1.15 GB, free: 24.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/1.035, allocations: 3.844 kB / 1.15 GB, free: 24.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/1.035, allocations: 26.88 kB / 1.15 GB, free: 24.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/1.035, allocations: 3.984 kB / 1.15 GB, free: 24.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.03e-05/1.035, allocations: 23.34 kB / 1.15 GB, free: 24.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/1.035, allocations: 7.812 kB / 1.15 GB, free: 24.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.482e-06/1.035, allocations: 3.812 kB / 1.15 GB, free: 24.46 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001185/1.035, allocations: 98.81 kB / 1.15 GB, free: 24.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/1.035, allocations: 3.969 kB / 1.15 GB, free: 24.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.709e-06/1.036, allocations: 7.844 kB / 1.15 GB, free: 24.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.565e-05/1.036, allocations: 30.83 kB / 1.15 GB, free: 24.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.085e-06/1.036, allocations: 3.875 kB / 1.15 GB, free: 24.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.343e-05/1.036, allocations: 7.969 kB / 1.15 GB, free: 24.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/1.036, allocations: 11.88 kB / 1.15 GB, free: 24.41 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.0001218/1.036, allocations: 219.5 kB / 1.15 GB, free: 24.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/1.036, allocations: 12.05 kB / 1.15 GB, free: 24.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/1.036, allocations: 11.94 kB / 1.15 GB, free: 24.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/1.036, allocations: 3.984 kB / 1.15 GB, free: 24.19 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.036, allocations: 4 kB / 1.15 GB, free: 24.19 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/1.036, allocations: 3.938 kB / 1.15 GB, free: 24.18 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/1.036, allocations: 456.3 kB / 1.151 GB, free: 23.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.036, allocations: 0 / 1.151 GB, free: 23.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.558e-05/1.036, allocations: 3.844 kB / 1.151 GB, free: 23.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/1.036, allocations: 3.938 kB / 1.151 GB, free: 23.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/1.036, allocations: 3.812 kB / 1.151 GB, free: 23.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/1.036, allocations: 3.984 kB / 1.151 GB, free: 23.75 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.036, allocations: 0 / 1.151 GB, free: 23.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.116e-05/1.036, allocations: 100.7 kB / 1.151 GB, free: 23.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-05/1.036, allocations: 96.72 kB / 1.151 GB, free: 23.55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/1.037, allocations: 3.812 kB / 1.151 GB, free: 23.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.195e-05/1.037, allocations: 0 / 1.151 GB, free: 23.55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/1.037, allocations: 3.875 kB / 1.151 GB, free: 23.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/1.037, allocations: 3.688 kB / 1.151 GB, free: 23.55 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.964e-05/1.037, allocations: 138.2 kB / 1.151 GB, free: 23.45 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.037, allocations: 0 / 1.151 GB, free: 23.45 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003403/1.037, allocations: 53.62 kB / 1.151 GB, free: 23.45 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.0001091/1.037, allocations: 94.56 kB / 1.151 GB, free: 23.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001752/1.037, allocations: 108.5 kB / 1.151 GB, free: 23.33 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.037, allocations: 0 / 1.151 GB, free: 23.33 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.608e-05/1.037, allocations: 19.03 kB / 1.151 GB, free: 23.32 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/1.038, allocations: 26.56 kB / 1.152 GB, free: 23.31 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004433/1.038, allocations: 305.6 kB / 1.152 GB, free: 23.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/1.038, allocations: 0.726 MB / 1.153 GB, free: 22.36 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.898e-05/1.038, allocations: 28.14 kB / 1.153 GB, free: 22.34 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.049e-05/1.039, allocations: 15.12 kB / 1.153 GB, free: 22.33 MB / 0.698 GB Notification: Performance of SimCode: time 5.01e-07/1.039, allocations: 3.938 kB / 1.153 GB, free: 22.33 MB / 0.698 GB Notification: Performance of Templates: time 0.002799/1.041, allocations: 0.7683 MB / 1.153 GB, free: 21.96 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)