Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadModel(Buildings): time 4.09/4.09, allocations: 433.4 MB / 440.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.135e-05/3.132e-05, allocations: 7.938 kB / 0.5325 GB, free: 1.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5209/0.5209, allocations: 98.71 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2226/0.7436, allocations: 145.8 MB / 0.7713 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.7439, allocations: 91.88 kB / 0.7714 GB, free: 13.65 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.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);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.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.03244/0.7764, allocations: 9.445 MB / 0.7806 GB, free: 4.074 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.97e-06/0.7764, allocations: 0 / 0.7806 GB, free: 4.074 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.032e-05/0.7764, allocations: 11.98 kB / 0.7806 GB, free: 4.062 MB / 0.6511 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.0005913/0.777, allocations: 410.4 kB / 0.781 GB, free: 3.613 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.7771, allocations: 8.031 kB / 0.781 GB, free: 3.605 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005608/0.7777, allocations: 56.06 kB / 0.7811 GB, free: 3.551 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.778, allocations: 214.8 kB / 0.7813 GB, free: 3.301 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.778, allocations: 7.938 kB / 0.7813 GB, free: 3.293 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.7781, allocations: 8 kB / 0.7813 GB, free: 3.285 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003014/0.7784, allocations: 124.2 kB / 0.7814 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/0.7788, allocations: 206.4 kB / 0.7816 GB, free: 2.941 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.7788, allocations: 0 / 0.7816 GB, free: 2.941 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.7788, allocations: 0 / 0.7816 GB, free: 2.941 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-05/0.7789, allocations: 12.23 kB / 0.7816 GB, free: 2.93 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.7803, allocations: 1.084 MB / 0.7827 GB, free: 1.727 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 6.199e-05/0.7804, allocations: 26.53 kB / 0.7827 GB, free: 1.691 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.464e-05/0.7804, allocations: 12.86 kB / 0.7827 GB, free: 1.676 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.776e-06/0.7805, allocations: 0 / 0.7827 GB, free: 1.676 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.7805, allocations: 34.5 kB / 0.7827 GB, free: 1.633 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=3): time 1.95e-06/0.7805, allocations: 0 / 0.7827 GB, free: 1.633 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.0001842/0.7807, allocations: 61.67 kB / 0.7828 GB, free: 1.566 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.7808, allocations: 51.41 kB / 0.7829 GB, free: 1.504 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.7809, allocations: 131.7 kB / 0.783 GB, free: 1.367 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.781, allocations: 25.7 kB / 0.783 GB, free: 1.336 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.7811, allocations: 151.3 kB / 0.7831 GB, free: 1.184 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.7811, allocations: 15.73 kB / 0.7832 GB, free: 1.168 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.963e-06/0.7811, allocations: 0 / 0.7832 GB, free: 1.168 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.7813, allocations: 318.8 kB / 0.7835 GB, free: 0.8477 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.583e-05/0.7814, allocations: 20 kB / 0.7835 GB, free: 0.8281 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.7815, allocations: 81.44 kB / 0.7836 GB, free: 0.7148 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.286e-05/0.7816, allocations: 39.91 kB / 0.7836 GB, free: 0.6758 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.241e-06/0.7816, allocations: 0 / 0.7836 GB, free: 0.6758 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002659/0.7819, allocations: 121.6 kB / 0.7837 GB, free: 0.5508 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005613/0.7824, allocations: 0.9601 MB / 0.7847 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.7825, allocations: 4 kB / 0.7847 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.7825, allocations: 4 kB / 0.7847 GB, free: 15.51 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.7827, allocations: 31.92 kB / 0.7847 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.821e-06/0.7827, allocations: 4 kB / 0.7847 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.7828, allocations: 11.84 kB / 0.7847 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.7828, allocations: 4.094 kB / 0.7847 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.7828, allocations: 8 kB / 0.7847 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000183/0.783, allocations: 79.77 kB / 0.7848 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.7831, allocations: 4 kB / 0.7848 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.7831, allocations: 4 kB / 0.7848 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.7832, allocations: 31.92 kB / 0.7848 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.126e-06/0.7832, allocations: 320 / 0.7848 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.05e-05/0.7833, allocations: 11.94 kB / 0.7848 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.7833, allocations: 8 kB / 0.7849 GB, free: 15.32 MB / 0.6667 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 9.547e-05/0.7834, allocations: 108.9 kB / 0.785 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/0.7835, allocations: 15.83 kB / 0.785 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.966e-05/0.7835, allocations: 12.34 kB / 0.785 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.195e-06/0.7836, allocations: 0 / 0.785 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.7836, allocations: 0 / 0.785 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.299e-06/0.7836, allocations: 0 / 0.785 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005565/0.7841, allocations: 420.8 kB / 0.7854 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.374e-06/0.7842, allocations: 0 / 0.7854 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-05/0.7842, allocations: 4 kB / 0.7854 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.263e-06/0.7842, allocations: 4 kB / 0.7854 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.041e-06/0.7843, allocations: 3.938 kB / 0.7854 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.585e-06/0.7843, allocations: 3.938 kB / 0.7854 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.28e-06/0.7843, allocations: 0 / 0.7854 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.7845, allocations: 126.2 kB / 0.7855 GB, free: 14.53 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 9.647e-05/0.7846, allocations: 85.02 kB / 0.7856 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.7846, allocations: 3.953 kB / 0.7856 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.67e-05/0.7847, allocations: 0 / 0.7856 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.815e-05/0.7847, allocations: 11.98 kB / 0.7856 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-06/0.7847, allocations: 0 / 0.7856 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001069/0.7848, allocations: 107.8 kB / 0.7857 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.04e-07/0.7848, allocations: 0 / 0.7857 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005075/0.7853, allocations: 59.78 kB / 0.7858 GB, free: 14.25 MB / 0.6667 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.0001326/0.7855, allocations: 99.19 kB / 0.7859 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002369/0.7857, allocations: 92.67 kB / 0.786 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.164e-06/0.7858, allocations: 0 / 0.786 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 3.115e-05/0.7858, allocations: 11.98 kB / 0.786 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.786, allocations: 18.8 kB / 0.786 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/0.7865, allocations: 170.9 kB / 0.7862 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/0.787, allocations: 0.7286 MB / 0.7869 GB, free: 13.08 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001322/0.7871, allocations: 32.44 kB / 0.7869 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.7871, allocations: 15.44 kB / 0.7869 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of SimCode: time 1.554e-06/0.7872, allocations: 0 / 0.7869 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of Templates: time 0.003734/0.7909, allocations: 0.7258 MB / 0.7876 GB, free: 12.31 MB / 0.6667 GB