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.009167/0.009167, 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.001142/0.001142, 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.907/1.907, 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.249/2.249, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004615/0.0004616, allocations: 12 kB / 0.587 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6398/0.6403, allocations: 98.7 MB / 0.6833 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.219/0.8593, allocations: 151.4 MB / 0.8312 GB, free: 6.855 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003468/0.8597, allocations: 103.9 kB / 0.8313 GB, free: 6.754 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06185/0.9216, allocations: 16.55 MB / 0.8475 GB, free: 6 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.358e-06/0.9216, allocations: 0 / 0.8475 GB, free: 6 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.829e-05/0.9217, allocations: 4 kB / 0.8475 GB, free: 5.996 MB / 0.6667 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.0009757/0.9227, allocations: 0.5261 MB / 0.848 GB, free: 5.422 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.9227, allocations: 12.03 kB / 0.848 GB, free: 5.41 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.9238, allocations: 99.59 kB / 0.8481 GB, free: 5.312 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004871/0.9243, allocations: 259.1 kB / 0.8483 GB, free: 5.02 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.9243, allocations: 16.44 kB / 0.8483 GB, free: 5.004 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.019e-05/0.9244, allocations: 27.89 kB / 0.8484 GB, free: 4.977 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007801/0.9252, allocations: 365 kB / 0.8487 GB, free: 4.594 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.9252, allocations: 0 / 0.8487 GB, free: 4.594 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.333e-05/0.9253, allocations: 7.984 kB / 0.8487 GB, free: 4.586 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.887e-05/0.9253, allocations: 24.42 kB / 0.8488 GB, free: 4.562 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000659/0.926, allocations: 301.5 kB / 0.849 GB, free: 4.27 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002374/0.9284, allocations: 1.537 MB / 0.8505 GB, free: 2.578 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005654/0.929, allocations: 226.4 kB / 0.8508 GB, free: 2.348 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001567/0.9292, allocations: 81.11 kB / 0.8508 GB, free: 2.25 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.9292, allocations: 42.5 kB / 0.8509 GB, free: 2.199 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=18): time 3.044e-06/0.9292, allocations: 0 / 0.8509 GB, free: 2.199 MB / 0.6667 GB Notification: Performance of matching and sorting (n=19): time 0.001681/0.9309, allocations: 0.7904 MB / 0.8516 GB, free: 1.355 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.931, allocations: 51.41 kB / 0.8517 GB, free: 1.293 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.9312, allocations: 177.8 kB / 0.8519 GB, free: 1.105 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.9313, allocations: 29.7 kB / 0.8519 GB, free: 1.07 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.9314, allocations: 159.8 kB / 0.852 GB, free: 0.9102 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.795e-05/0.9315, allocations: 74.98 kB / 0.8521 GB, free: 0.8359 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.016e-05/0.9315, allocations: 4 kB / 0.8521 GB, free: 0.832 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.9317, allocations: 330.8 kB / 0.8524 GB, free: 0.5 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.932, allocations: 115.9 kB / 0.8526 GB, free: 396 kB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/0.9325, allocations: 165.9 kB / 0.8527 GB, free: 208 kB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/0.9328, allocations: 139.8 kB / 0.8528 GB, free: 68 kB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.725e-06/0.9328, allocations: 4 kB / 0.8528 GB, free: 64 kB / 0.6667 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001043/0.9339, allocations: 406 kB / 0.8532 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.9339, allocations: 4 kB / 0.8532 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.9339, allocations: 7.984 kB / 0.8532 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006152/0.9346, allocations: 96.97 kB / 0.8533 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005503/0.9351, allocations: 59.84 kB / 0.8534 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002872/0.938, allocations: 1.757 MB / 0.8551 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/0.9384, allocations: 16.02 kB / 0.8551 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/0.9384, allocations: 20.05 kB / 0.8551 GB, free: 13.56 MB / 0.6823 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.0002414/0.9387, allocations: 152.2 kB / 0.8553 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.511e-05/0.9388, allocations: 19.81 kB / 0.8553 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006556/0.9394, allocations: 295.7 kB / 0.8556 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.507e-06/0.9395, allocations: 4 kB / 0.8556 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.55e-06/0.9395, allocations: 7.984 kB / 0.8556 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.655e-06/0.9395, allocations: 4 kB / 0.8556 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.9408, allocations: 0.7051 MB / 0.8563 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.365e-06/0.9408, allocations: 0 / 0.8563 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004293/0.9412, allocations: 59.89 kB / 0.8564 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.333e-06/0.9412, allocations: 0 / 0.8564 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.625e-05/0.9413, allocations: 11.98 kB / 0.8564 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.9413, allocations: 3.953 kB / 0.8564 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.189e-06/0.9413, allocations: 4.062 kB / 0.8564 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009143/0.9422, allocations: 0.5317 MB / 0.8569 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.9424, allocations: 120.9 kB / 0.857 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.681e-05/0.9425, allocations: 4 kB / 0.857 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.9427, allocations: 20.03 kB / 0.857 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.9428, allocations: 11.98 kB / 0.857 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.9428, allocations: 8 kB / 0.857 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001862/0.943, allocations: 143.2 kB / 0.8572 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.3e-07/0.943, allocations: 0 / 0.8572 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005444/0.9436, allocations: 76 kB / 0.8573 GB, free: 11.27 MB / 0.6823 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.0002091/0.9438, allocations: 139 kB / 0.8574 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009183/0.9448, allocations: 409.2 kB / 0.8578 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.131e-06/0.9448, allocations: 4 kB / 0.8578 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002538/0.945, allocations: 123.8 kB / 0.8579 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.9454, allocations: 36.61 kB / 0.8579 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.947, allocations: 0.7442 MB / 0.8587 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/0.9476, allocations: 0.7791 MB / 0.8594 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002614/0.9478, allocations: 65.89 kB / 0.8595 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.286e-05/0.9479, allocations: 23.42 kB / 0.8595 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of SimCode: time 1.456e-06/0.9479, allocations: 0 / 0.8595 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of Templates: time 0.008335/0.9563, allocations: 2.557 MB / 0.862 GB, free: 6.34 MB / 0.6823 GB