Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.079/5.079, allocations: 0.5623 GB / 0.5775 GB, free: 3.359 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002582/0.002581, allocations: 357.1 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.218/4.218, allocations: 410.7 MB / 1.113 GB, free: 5.961 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001881/0.001881, allocations: 181.8 kB / 1.226 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005093/0.0005094, allocations: 11.98 kB / 1.349 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7316/0.7321, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2292/0.9614, allocations: 159.8 MB / 1.617 GB, free: 124.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003352/0.9618, allocations: 91.95 kB / 1.617 GB, free: 124.2 MB / 0.8542 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.03264/0.9944, allocations: 9.561 MB / 1.627 GB, free: 114.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9945, allocations: 0 / 1.627 GB, free: 114.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.9945, allocations: 4 kB / 1.627 GB, free: 114.7 MB / 0.8542 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.0005605/0.9951, allocations: 416.5 kB / 1.627 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.9951, allocations: 15.62 kB / 1.627 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005965/0.9957, allocations: 49.55 kB / 1.627 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.996, allocations: 218.7 kB / 1.628 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.996, allocations: 13 kB / 1.628 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.9961, allocations: 12 kB / 1.628 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.9965, allocations: 219 kB / 1.628 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.9966, allocations: 0 / 1.628 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.256e-05/0.9966, allocations: 13.42 kB / 1.628 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.692e-05/0.9967, allocations: 16.2 kB / 1.628 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003226/0.997, allocations: 148.7 kB / 1.628 GB, free: 113.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.9982, allocations: 1.133 MB / 1.629 GB, free: 112.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.787e-05/0.9983, allocations: 43.12 kB / 1.629 GB, free: 112.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.663e-05/0.9984, allocations: 22.44 kB / 1.629 GB, free: 112.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.9984, allocations: 4 kB / 1.629 GB, free: 112.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.9985, allocations: 32.28 kB / 1.629 GB, free: 112.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 1.904e-06/0.9985, allocations: 0 / 1.629 GB, free: 112.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0002396/0.9987, allocations: 74.42 kB / 1.629 GB, free: 112 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.9988, allocations: 56.36 kB / 1.629 GB, free: 111.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.9989, allocations: 174.2 kB / 1.629 GB, free: 111.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.999, allocations: 26.7 kB / 1.629 GB, free: 111.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.729e-05/0.9991, allocations: 143.4 kB / 1.63 GB, free: 111.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.9991, allocations: 13.78 kB / 1.63 GB, free: 111.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-06/0.9991, allocations: 0 / 1.63 GB, free: 111.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.152e-05/0.9992, allocations: 322.8 kB / 1.63 GB, free: 111.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.758e-05/0.9992, allocations: 27.98 kB / 1.63 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.575e-05/0.9993, allocations: 85.91 kB / 1.63 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.112e-05/0.9994, allocations: 39.36 kB / 1.63 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.9994, allocations: 4.719 kB / 1.63 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002496/0.9997, allocations: 139.2 kB / 1.63 GB, free: 110.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.042e-05/0.9998, allocations: 161.9 kB / 1.63 GB, free: 110.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.9998, allocations: 3.984 kB / 1.63 GB, free: 110.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.9998, allocations: 8.969 kB / 1.63 GB, free: 110.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/1, allocations: 27.88 kB / 1.63 GB, free: 110.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/1, allocations: 9.453 kB / 1.63 GB, free: 110.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/1, allocations: 19.84 kB / 1.63 GB, free: 110.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/1, allocations: 7.984 kB / 1.63 GB, free: 110.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.103e-06/1, allocations: 4 kB / 1.63 GB, free: 110.7 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001893/1, allocations: 95.22 kB / 1.63 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/1, allocations: 4 kB / 1.63 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.033e-06/1, allocations: 4 kB / 1.63 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/1.001, allocations: 31.86 kB / 1.631 GB, free: 110.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/1.001, allocations: 9.109 kB / 1.631 GB, free: 110.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.613e-05/1.001, allocations: 15.84 kB / 1.631 GB, free: 110.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/1.001, allocations: 4 kB / 1.631 GB, free: 110.5 MB / 0.8542 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.0001273/1.001, allocations: 214.2 kB / 1.631 GB, free: 110.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/1.001, allocations: 16.73 kB / 1.631 GB, free: 110.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/1.001, allocations: 12.88 kB / 1.631 GB, free: 110.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/1.001, allocations: 5.5 kB / 1.631 GB, free: 110.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.001, allocations: 3.953 kB / 1.631 GB, free: 110.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.001, allocations: 0 / 1.631 GB, free: 110.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004792/1.001, allocations: 464.8 kB / 1.631 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.002, allocations: 0 / 1.631 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.634e-05/1.002, allocations: 19.94 kB / 1.631 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/1.002, allocations: 1.219 kB / 1.631 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/1.002, allocations: 4 kB / 1.631 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/1.002, allocations: 3.938 kB / 1.631 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.002, allocations: 0.5 kB / 1.631 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/1.002, allocations: 107.3 kB / 1.631 GB, free: 109.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.523e-05/1.002, allocations: 89 kB / 1.631 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/1.002, allocations: 7.953 kB / 1.631 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.972e-05/1.002, allocations: 4 kB / 1.631 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/1.002, allocations: 6.688 kB / 1.631 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/1.002, allocations: 4 kB / 1.631 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001413/1.002, allocations: 127.2 kB / 1.632 GB, free: 109.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.91e-07/1.002, allocations: 0 / 1.632 GB, free: 109.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004775/1.003, allocations: 59.75 kB / 1.632 GB, free: 109.3 MB / 0.8542 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.0001166/1.003, allocations: 98.69 kB / 1.632 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002811/1.003, allocations: 110.3 kB / 1.632 GB, free: 109.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/1.003, allocations: 0 / 1.632 GB, free: 109.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.912e-05/1.003, allocations: 12 kB / 1.632 GB, free: 109.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/1.004, allocations: 21.92 kB / 1.632 GB, free: 109 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006548/1.004, allocations: 324.9 kB / 1.632 GB, free: 108.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/1.004, allocations: 0.725 MB / 1.633 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001545/1.005, allocations: 31.36 kB / 1.633 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/1.005, allocations: 12.53 kB / 1.633 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.092e-06/1.005, allocations: 0 / 1.633 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.004035/1.009, allocations: 0.7758 MB / 1.634 GB, free: 107.2 MB / 0.8542 GB