Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.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.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.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.004278/0.004282, allocations: 231.2 kB / 15.82 MB, free: 6.301 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.001174/0.001174, allocations: 175.3 kB / 16.7 MB, free: 5.457 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 4.076/4.076, allocations: 389.1 MB / 406.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.917/3.917, allocations: 472.3 MB / 0.9024 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004803/0.0004806, allocations: 18.69 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1807, allocations: 98.72 MB / 1.105 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.824/1.005, allocations: 151.4 MB / 1.253 GB, free: 6.398 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003381/1.005, allocations: 106.5 kB / 1.253 GB, free: 6.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.0643/1.069, allocations: 16.54 MB / 1.269 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.094e-06/1.069, allocations: 0 / 1.269 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.351e-05/1.069, allocations: 7.984 kB / 1.269 GB, free: 8.648 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001228/1.071, allocations: 0.5257 MB / 1.269 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/1.071, allocations: 12.02 kB / 1.269 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/1.072, allocations: 89.34 kB / 1.269 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005947/1.073, allocations: 271.5 kB / 1.27 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/1.073, allocations: 15.5 kB / 1.27 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.167e-05/1.073, allocations: 23.72 kB / 1.27 GB, free: 7.695 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008834/1.074, allocations: 359.7 kB / 1.27 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/1.074, allocations: 0 / 1.27 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.094e-05/1.074, allocations: 18.61 kB / 1.27 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.654e-05/1.074, allocations: 20.25 kB / 1.27 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007958/1.075, allocations: 306.1 kB / 1.27 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002757/1.077, allocations: 1.537 MB / 1.272 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006786/1.078, allocations: 224.6 kB / 1.272 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003202/1.078, allocations: 115.2 kB / 1.272 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001945/1.079, allocations: 95.66 kB / 1.272 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/1.079, allocations: 30.56 kB / 1.272 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.995e-06/1.079, allocations: 0 / 1.272 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.00193/1.081, allocations: 0.7887 MB / 1.273 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/1.081, allocations: 54.34 kB / 1.273 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/1.081, allocations: 198.6 kB / 1.273 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/1.081, allocations: 28.83 kB / 1.273 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/1.081, allocations: 160.4 kB / 1.273 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.449e-05/1.081, allocations: 62.14 kB / 1.274 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/1.081, allocations: 3.75 kB / 1.274 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001538/1.082, allocations: 337.5 kB / 1.274 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/1.082, allocations: 112.7 kB / 1.274 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/1.082, allocations: 169.4 kB / 1.274 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003372/1.083, allocations: 134.7 kB / 1.274 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/1.083, allocations: 0 / 1.274 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001189/1.084, allocations: 420.1 kB / 1.275 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/1.084, allocations: 4 kB / 1.275 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/1.084, allocations: 7.469 kB / 1.275 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005992/1.084, allocations: 98.84 kB / 1.275 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004596/1.085, allocations: 51.91 kB / 1.275 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002666/1.088, allocations: 1.731 MB / 1.277 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003996/1.088, allocations: 19.62 kB / 1.277 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/1.088, allocations: 10.59 kB / 1.277 GB, free: 1.379 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002601/1.088, allocations: 155.3 kB / 1.277 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.581e-05/1.088, allocations: 15.81 kB / 1.277 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007479/1.089, allocations: 302.7 kB / 1.277 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/1.089, allocations: 4 kB / 1.277 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/1.089, allocations: 0 / 1.277 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/1.089, allocations: 3.953 kB / 1.277 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/1.091, allocations: 0.7056 MB / 1.278 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/1.091, allocations: 192 / 1.278 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005657/1.091, allocations: 63.89 kB / 1.278 GB, free: 328 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/1.091, allocations: 0 / 1.278 GB, free: 328 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.254e-05/1.091, allocations: 11.52 kB / 1.278 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/1.091, allocations: 0 / 1.278 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.091, allocations: 2.594 kB / 1.278 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/1.092, allocations: 0.5124 MB / 1.278 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/1.093, allocations: 117.5 kB / 1.278 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.185e-05/1.093, allocations: 7.109 kB / 1.278 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003066/1.093, allocations: 22.83 kB / 1.278 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/1.093, allocations: 12.45 kB / 1.278 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/1.093, allocations: 4 kB / 1.278 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002031/1.093, allocations: 150.5 kB / 1.279 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.01e-07/1.093, allocations: 0 / 1.279 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005738/1.094, allocations: 77.81 kB / 1.279 GB, free: 15.56 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * 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.0002656/1.094, allocations: 127 kB / 1.279 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001073/1.095, allocations: 417.8 kB / 1.279 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/1.095, allocations: 4 kB / 1.279 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002712/1.096, allocations: 126 kB / 1.279 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005423/1.096, allocations: 36.05 kB / 1.279 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/1.098, allocations: 0.7523 MB / 1.28 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/1.098, allocations: 0.7781 MB / 1.281 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003097/1.099, allocations: 57.38 kB / 1.281 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/1.099, allocations: 24.48 kB / 1.281 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of SimCode: time 9.72e-07/1.099, allocations: 0 / 1.281 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of Templates: time 0.009135/1.108, allocations: 2.567 MB / 1.283 GB, free: 11.04 MB / 0.6511 GB