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.00921/0.009214, allocations: 108.7 kB / 15.06 MB, free: 5.562 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.001803/0.001802, allocations: 180.1 kB / 15.95 MB, free: 5.523 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.869/1.869, allocations: 194.6 MB / 211.3 MB, free: 11.25 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.6/2.6, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004789/0.0004791, allocations: 8 kB / 0.5869 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5919/0.5924, allocations: 98.72 MB / 0.6833 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003995/0.5965, allocations: 2.603 MB / 0.6859 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003242/0.5998, allocations: 1.568 MB / 0.6874 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.6, allocations: 11.69 kB / 0.6874 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.6003, allocations: 37.67 kB / 0.6875 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0007377/0.601, allocations: 141.1 kB / 0.6876 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006242/0.6017, allocations: 139.6 kB / 0.6877 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003251/0.602, allocations: 174 kB / 0.6879 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.6031, allocations: 0.4924 MB / 0.6884 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.6034, allocations: 94.33 kB / 0.6885 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.6037, allocations: 103.6 kB / 0.6886 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.031e-05/0.6037, allocations: 11.34 kB / 0.6886 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004711/0.6042, allocations: 134.8 kB / 0.6887 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.6044, allocations: 89.7 kB / 0.6888 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 8.39e-05/0.6044, allocations: 65.58 kB / 0.6889 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005425/0.605, allocations: 309.4 kB / 0.6892 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.919e-06/0.605, allocations: 0 / 0.6892 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.142e-06/0.605, allocations: 0 / 0.6892 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.334e-05/0.6051, allocations: 0 / 0.6892 GB, free: 13.17 MB / 0.5261 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.0008869/0.606, allocations: 0.504 MB / 0.6896 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.606, allocations: 8.938 kB / 0.6897 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.607, allocations: 108.8 kB / 0.6898 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.6074, allocations: 256.2 kB / 0.69 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.6075, allocations: 13.67 kB / 0.69 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.6076, allocations: 29.94 kB / 0.69 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007896/0.6084, allocations: 377 kB / 0.6904 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.6085, allocations: 3.984 kB / 0.6904 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.5e-05/0.6085, allocations: 6.562 kB / 0.6904 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001283/0.6086, allocations: 30.3 kB / 0.6904 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006649/0.6093, allocations: 304.4 kB / 0.6907 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002094/0.6114, allocations: 1.526 MB / 0.6922 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005669/0.612, allocations: 222.6 kB / 0.6924 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001448/0.6122, allocations: 86.31 kB / 0.6925 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.6122, allocations: 36.83 kB / 0.6926 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 3.002e-06/0.6122, allocations: 4 kB / 0.6926 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19): time 0.001612/0.6139, allocations: 0.7839 MB / 0.6933 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.6139, allocations: 59.14 kB / 0.6934 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.6142, allocations: 200.5 kB / 0.6936 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.6142, allocations: 26.98 kB / 0.6936 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.866e-05/0.6143, allocations: 170.3 kB / 0.6938 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.066e-05/0.6144, allocations: 72.81 kB / 0.6938 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-05/0.6144, allocations: 5.156 kB / 0.6938 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.76e-05/0.6145, allocations: 329.7 kB / 0.6941 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.6148, allocations: 113.2 kB / 0.6943 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.6151, allocations: 162.8 kB / 0.6944 GB, free: 9.254 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.6154, allocations: 131.8 kB / 0.6945 GB, free: 9.203 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.009e-06/0.6154, allocations: 0 / 0.6945 GB, free: 9.203 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001086/0.6165, allocations: 423.8 kB / 0.6949 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.6165, allocations: 5.375 kB / 0.6949 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.952e-06/0.6166, allocations: 6.594 kB / 0.6949 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005451/0.6171, allocations: 100.1 kB / 0.695 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.6175, allocations: 47.44 kB / 0.6951 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/0.6197, allocations: 1.772 MB / 0.6968 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.62, allocations: 19.59 kB / 0.6968 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.6201, allocations: 12.86 kB / 0.6969 GB, free: 7.5 MB / 0.5261 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.0002231/0.6203, allocations: 156.7 kB / 0.697 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.899e-05/0.6204, allocations: 16.09 kB / 0.697 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006501/0.621, allocations: 298.1 kB / 0.6973 GB, free: 7.223 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.657e-06/0.6211, allocations: 6.375 kB / 0.6973 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.122e-06/0.6211, allocations: 1.547 kB / 0.6973 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-06/0.6211, allocations: 1.266 kB / 0.6973 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.6223, allocations: 0.7066 MB / 0.698 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.487e-06/0.6223, allocations: 1.062 kB / 0.698 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000417/0.6228, allocations: 57.45 kB / 0.6981 GB, free: 6.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/0.6228, allocations: 2.25 kB / 0.6981 GB, free: 6.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.6228, allocations: 11.36 kB / 0.6981 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.6228, allocations: 1.609 kB / 0.6981 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.098e-06/0.6228, allocations: 1.125 kB / 0.6981 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008571/0.6237, allocations: 0.5356 MB / 0.6986 GB, free: 6.418 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.6239, allocations: 123.2 kB / 0.6987 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.18e-05/0.6239, allocations: 7.844 kB / 0.6987 GB, free: 6.297 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.6242, allocations: 14.53 kB / 0.6987 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/0.6243, allocations: 18.89 kB / 0.6988 GB, free: 6.285 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.6243, allocations: 4.672 kB / 0.6988 GB, free: 6.285 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001768/0.6245, allocations: 146.2 kB / 0.6989 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.15e-07/0.6245, allocations: 0 / 0.6989 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005411/0.6251, allocations: 70.61 kB / 0.699 GB, free: 6.176 MB / 0.5261 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.0001554/0.6252, allocations: 110.6 kB / 0.6991 GB, free: 6.078 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009505/0.6262, allocations: 425 kB / 0.6995 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.326e-06/0.6262, allocations: 0 / 0.6995 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002393/0.6265, allocations: 125.1 kB / 0.6996 GB, free: 5.816 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.6269, allocations: 32.25 kB / 0.6996 GB, free: 5.805 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.6284, allocations: 0.7603 MB / 0.7004 GB, free: 5.336 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.6287, allocations: 0.7858 MB / 0.7011 GB, free: 4.621 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002658/0.629, allocations: 56.03 kB / 0.7012 GB, free: 4.602 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.279e-05/0.6291, allocations: 23.66 kB / 0.7012 GB, free: 4.59 MB / 0.5261 GB Notification: Performance of SimCode: time 1.507e-06/0.6291, allocations: 3.938 kB / 0.7012 GB, free: 4.586 MB / 0.5261 GB Notification: Performance of Templates: time 0.007657/0.6368, allocations: 2.566 MB / 0.7037 GB, free: 3.312 MB / 0.5261 GB