Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009116/0.009116, allocations: 110.2 kB / 15.05 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001186/0.001186, allocations: 184 kB / 15.94 MB, free: 5.941 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.949/1.949, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.228/2.228, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007307/0.0007308, allocations: 16 kB / 0.5869 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5924/0.5932, allocations: 98.7 MB / 0.6833 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2559/0.8491, allocations: 146.6 MB / 0.8264 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004862/0.8497, allocations: 99.88 kB / 0.8265 GB, free: 11.62 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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.05475/0.9044, allocations: 9.564 MB / 0.8359 GB, free: 1.918 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.366e-06/0.9045, allocations: 0 / 0.8359 GB, free: 1.918 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.126e-05/0.9045, allocations: 4 kB / 0.8359 GB, free: 1.914 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.0009147/0.9055, allocations: 427.1 kB / 0.8363 GB, free: 1.445 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.9055, allocations: 8.031 kB / 0.8363 GB, free: 1.438 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.9066, allocations: 60.05 kB / 0.8364 GB, free: 1.379 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004881/0.9071, allocations: 206.8 kB / 0.8366 GB, free: 1.137 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.994e-05/0.9072, allocations: 20.22 kB / 0.8366 GB, free: 1.117 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.735e-05/0.9072, allocations: 12 kB / 0.8366 GB, free: 1.105 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007547/0.908, allocations: 226.7 kB / 0.8368 GB, free: 0.8633 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.9081, allocations: 4 kB / 0.8368 GB, free: 0.8594 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.854e-05/0.9081, allocations: 0 / 0.8368 GB, free: 0.8594 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.771e-05/0.9082, allocations: 16.27 kB / 0.8368 GB, free: 0.8438 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005599/0.9088, allocations: 148.7 kB / 0.837 GB, free: 0.6992 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002466/0.9113, allocations: 1.142 MB / 0.8381 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.9114, allocations: 22.52 kB / 0.8381 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.9115, allocations: 4 kB / 0.8381 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/0.9115, allocations: 30.56 kB / 0.8381 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 5.512e-06/0.9116, allocations: 4 kB / 0.8381 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0003454/0.9119, allocations: 65.86 kB / 0.8382 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.912, allocations: 55.34 kB / 0.8383 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/0.9124, allocations: 162.2 kB / 0.8384 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.9124, allocations: 25.7 kB / 0.8384 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.9126, allocations: 143.3 kB / 0.8386 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.9127, allocations: 11.81 kB / 0.8386 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.449e-06/0.9127, allocations: 4 kB / 0.8386 GB, free: 14.85 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002179/0.9129, allocations: 322.8 kB / 0.8389 GB, free: 14.53 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.913, allocations: 23.98 kB / 0.8389 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.9132, allocations: 89.38 kB / 0.839 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.9134, allocations: 47.91 kB / 0.839 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.795e-06/0.9135, allocations: 0 / 0.839 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005501/0.914, allocations: 137.4 kB / 0.8392 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006932/0.9147, allocations: 0.9611 MB / 0.8401 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/0.9148, allocations: 4 kB / 0.8401 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.887e-05/0.9148, allocations: 8 kB / 0.8401 GB, free: 13.15 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.9151, allocations: 20 kB / 0.8401 GB, free: 13.13 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.381e-05/0.9152, allocations: 11.92 kB / 0.8402 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.9154, allocations: 19.78 kB / 0.8402 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.9155, allocations: 12 kB / 0.8402 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.9155, allocations: 0 / 0.8402 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004147/0.916, allocations: 95.72 kB / 0.8403 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.878e-06/0.916, allocations: 0 / 0.8403 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.916, allocations: 4 kB / 0.8403 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.9162, allocations: 28.3 kB / 0.8403 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/0.9163, allocations: 11.94 kB / 0.8403 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.9165, allocations: 7.906 kB / 0.8403 GB, free: 12.94 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.9165, allocations: 8 kB / 0.8403 GB, free: 12.93 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 () * 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.0003015/0.9169, allocations: 217 kB / 0.8405 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.825e-05/0.917, allocations: 7.906 kB / 0.8406 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.17e-05/0.9171, allocations: 20.86 kB / 0.8406 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.9171, allocations: 0 / 0.8406 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.657e-06/0.9171, allocations: 0 / 0.8406 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.693e-06/0.9171, allocations: 0 / 0.8406 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009689/0.9181, allocations: 464.2 kB / 0.841 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.777e-06/0.9181, allocations: 0 / 0.841 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.586e-05/0.9182, allocations: 4 kB / 0.841 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.567e-06/0.9183, allocations: 4 kB / 0.841 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.9183, allocations: 0 / 0.841 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.943e-06/0.9183, allocations: 3.953 kB / 0.841 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.191e-06/0.9183, allocations: 8.094 kB / 0.841 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.9186, allocations: 122.1 kB / 0.8411 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.9188, allocations: 92.95 kB / 0.8412 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/0.9189, allocations: 0 / 0.8412 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.919, allocations: 7.938 kB / 0.8412 GB, free: 11.87 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.919, allocations: 8 kB / 0.8413 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.9191, allocations: 0 / 0.8413 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002352/0.9193, allocations: 125.6 kB / 0.8414 GB, free: 11.74 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.194e-06/0.9193, allocations: 0 / 0.8414 GB, free: 11.74 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009362/0.9203, allocations: 55.83 kB / 0.8414 GB, free: 11.69 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 () * 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.0001992/0.9205, allocations: 103.2 kB / 0.8415 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004556/0.921, allocations: 107.7 kB / 0.8416 GB, free: 11.47 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.945e-06/0.921, allocations: 0 / 0.8416 GB, free: 11.47 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 6.088e-05/0.9211, allocations: 12 kB / 0.8416 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.9215, allocations: 17.42 kB / 0.8417 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.9226, allocations: 313.4 kB / 0.842 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/0.9231, allocations: 0.7319 MB / 0.8427 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001302/0.9233, allocations: 24.62 kB / 0.8427 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.9233, allocations: 15.44 kB / 0.8427 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of SimCode: time 1.793e-06/0.9233, allocations: 0 / 0.8427 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of Templates: time 0.003976/0.9273, allocations: 0.7774 MB / 0.8435 GB, free: 9.539 MB / 0.6667 GB