Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.603/2.603, allocations: 287.5 MB / 303.2 MB, free: 8.18 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.001318/0.001318, allocations: 180.1 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.116/2.116, allocations: 205.4 MB / 0.6305 GB, free: 10.59 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.0008537/0.0008533, allocations: 99.95 kB / 0.7438 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004585/0.0004586, allocations: 10.06 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2064, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9579/1.164, allocations: 159.8 MB / 1.135 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/1.165, allocations: 99.5 kB / 1.135 GB, free: 15.55 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.03137/1.196, allocations: 9.559 MB / 1.145 GB, free: 27.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.422e-06/1.196, allocations: 0 / 1.145 GB, free: 27.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.819e-05/1.196, allocations: 7.188 kB / 1.145 GB, free: 27.7 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.0006094/1.197, allocations: 424.7 kB / 1.145 GB, free: 27.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/1.197, allocations: 11.16 kB / 1.145 GB, free: 27.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005751/1.197, allocations: 55.05 kB / 1.145 GB, free: 27.26 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/1.198, allocations: 217.6 kB / 1.145 GB, free: 27.04 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/1.198, allocations: 12.08 kB / 1.146 GB, free: 27.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.005e-05/1.198, allocations: 11.44 kB / 1.146 GB, free: 27.04 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004277/1.198, allocations: 225.7 kB / 1.146 GB, free: 26.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/1.198, allocations: 4.188 kB / 1.146 GB, free: 26.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/1.198, allocations: 11.62 kB / 1.146 GB, free: 26.92 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-05/1.198, allocations: 15.69 kB / 1.146 GB, free: 26.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003203/1.199, allocations: 155.9 kB / 1.146 GB, free: 26.88 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/1.2, allocations: 1.136 MB / 1.147 GB, free: 25.81 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.48e-05/1.2, allocations: 41.81 kB / 1.147 GB, free: 25.79 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.296e-05/1.2, allocations: 11.45 kB / 1.147 GB, free: 25.78 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/1.2, allocations: 7.812 kB / 1.147 GB, free: 25.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/1.2, allocations: 34.5 kB / 1.147 GB, free: 25.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 2.254e-06/1.2, allocations: 0 / 1.147 GB, free: 25.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002434/1.2, allocations: 80.55 kB / 1.147 GB, free: 25.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/1.201, allocations: 55.34 kB / 1.147 GB, free: 25.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/1.201, allocations: 171.7 kB / 1.147 GB, free: 25.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/1.201, allocations: 29.52 kB / 1.147 GB, free: 25.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.933e-05/1.201, allocations: 142.3 kB / 1.148 GB, free: 25.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/1.201, allocations: 15.62 kB / 1.148 GB, free: 25.33 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-06/1.201, allocations: 3.812 kB / 1.148 GB, free: 25.33 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.201, allocations: 318.2 kB / 1.148 GB, free: 25.02 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.51e-05/1.201, allocations: 22.45 kB / 1.148 GB, free: 25.01 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.741e-05/1.201, allocations: 91.19 kB / 1.148 GB, free: 24.91 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/1.201, allocations: 122 kB / 1.148 GB, free: 24.81 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.201, allocations: 0 / 1.148 GB, free: 24.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000253/1.202, allocations: 135.2 kB / 1.148 GB, free: 24.74 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.242e-05/1.202, allocations: 170.5 kB / 1.148 GB, free: 24.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/1.202, allocations: 0 / 1.148 GB, free: 24.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/1.202, allocations: 3.844 kB / 1.148 GB, free: 24.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/1.202, allocations: 26.84 kB / 1.148 GB, free: 24.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/1.202, allocations: 7.797 kB / 1.148 GB, free: 24.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/1.202, allocations: 18.56 kB / 1.148 GB, free: 24.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/1.202, allocations: 11.69 kB / 1.148 GB, free: 24.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.492e-06/1.202, allocations: 3.812 kB / 1.148 GB, free: 24.54 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001828/1.202, allocations: 89.22 kB / 1.149 GB, free: 24.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/1.202, allocations: 3.812 kB / 1.149 GB, free: 24.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.49e-06/1.202, allocations: 7.828 kB / 1.149 GB, free: 24.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/1.203, allocations: 26.84 kB / 1.149 GB, free: 24.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/1.203, allocations: 8.188 kB / 1.149 GB, free: 24.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.372e-05/1.203, allocations: 7.812 kB / 1.149 GB, free: 24.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/1.203, allocations: 15.61 kB / 1.149 GB, free: 24.49 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.0001597/1.203, allocations: 218.2 kB / 1.149 GB, free: 24.29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/1.203, allocations: 11.62 kB / 1.149 GB, free: 24.28 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.562e-05/1.203, allocations: 15.94 kB / 1.149 GB, free: 24.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/1.203, allocations: 0 / 1.149 GB, free: 24.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/1.203, allocations: 3.984 kB / 1.149 GB, free: 24.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.81e-06/1.203, allocations: 11.69 kB / 1.149 GB, free: 24.26 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005115/1.204, allocations: 459.2 kB / 1.149 GB, free: 23.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/1.204, allocations: 3.844 kB / 1.149 GB, free: 23.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.727e-05/1.204, allocations: 14.39 kB / 1.149 GB, free: 23.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/1.204, allocations: 7.781 kB / 1.149 GB, free: 23.81 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/1.204, allocations: 0 / 1.149 GB, free: 23.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/1.204, allocations: 128 / 1.149 GB, free: 23.81 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.204, allocations: 7.844 kB / 1.149 GB, free: 23.81 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/1.204, allocations: 112.6 kB / 1.149 GB, free: 23.71 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/1.204, allocations: 96.72 kB / 1.15 GB, free: 23.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/1.204, allocations: 0 / 1.15 GB, free: 23.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.825e-05/1.204, allocations: 7.969 kB / 1.15 GB, free: 23.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/1.204, allocations: 3.125 kB / 1.15 GB, free: 23.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/1.204, allocations: 3.844 kB / 1.15 GB, free: 23.59 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001242/1.204, allocations: 133.8 kB / 1.15 GB, free: 23.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.204, allocations: 0 / 1.15 GB, free: 23.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004774/1.205, allocations: 51.84 kB / 1.15 GB, free: 23.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.0001466/1.205, allocations: 94.62 kB / 1.15 GB, free: 23.41 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002461/1.205, allocations: 106 kB / 1.15 GB, free: 23.38 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/1.205, allocations: 3.844 kB / 1.15 GB, free: 23.38 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.072e-05/1.205, allocations: 20.36 kB / 1.15 GB, free: 23.37 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/1.206, allocations: 22.62 kB / 1.15 GB, free: 23.37 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005961/1.206, allocations: 323.3 kB / 1.15 GB, free: 23.11 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/1.206, allocations: 0.719 MB / 1.151 GB, free: 22.39 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001383/1.207, allocations: 28.19 kB / 1.151 GB, free: 22.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/1.207, allocations: 15.12 kB / 1.151 GB, free: 22.38 MB / 0.698 GB Notification: Performance of SimCode: time 6.52e-07/1.207, allocations: 0 / 1.151 GB, free: 22.38 MB / 0.698 GB Notification: Performance of Templates: time 0.003872/1.211, allocations: 0.7785 MB / 1.152 GB, free: 22.01 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)