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.01517/0.01517, allocations: 108.5 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.001792/0.001792, allocations: 181.7 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.83/1.83, 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.303/2.303, allocations: 236.2 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006559/0.0006562, allocations: 16 kB / 0.5869 GB, free: 2.133 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6934/0.694, allocations: 98.7 MB / 0.6833 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003038/0.6971, allocations: 2.104 MB / 0.6854 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.6985, allocations: 0.7224 MB / 0.6861 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.719e-05/0.6986, allocations: 6.344 kB / 0.6861 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.6988, allocations: 25.3 kB / 0.6861 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.699, allocations: 63.98 kB / 0.6862 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.6994, allocations: 77.42 kB / 0.6863 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.6996, allocations: 107.8 kB / 0.6864 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002588/0.6999, allocations: 185.4 kB / 0.6865 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 8.346e-05/0.7, allocations: 45.39 kB / 0.6866 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.7002, allocations: 61.06 kB / 0.6866 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.7002, allocations: 6.844 kB / 0.6866 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.7004, allocations: 51.03 kB / 0.6867 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.023e-05/0.7004, allocations: 39.67 kB / 0.6867 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.002e-05/0.7005, allocations: 50.42 kB / 0.6868 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.7008, allocations: 167.1 kB / 0.6869 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.957e-06/0.7008, allocations: 0 / 0.6869 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.947e-06/0.7008, allocations: 0 / 0.6869 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.982e-06/0.7008, allocations: 4 kB / 0.6869 GB, free: 14.41 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005338/0.7014, allocations: 414.2 kB / 0.6873 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.7014, allocations: 8.5 kB / 0.6873 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004754/0.7019, allocations: 54.8 kB / 0.6874 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.7021, allocations: 216.4 kB / 0.6876 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.7022, allocations: 9.719 kB / 0.6876 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.7022, allocations: 12.19 kB / 0.6876 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000429/0.7027, allocations: 227.4 kB / 0.6878 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.7027, allocations: 0 / 0.6878 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.7027, allocations: 10.78 kB / 0.6878 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.441e-05/0.7028, allocations: 17.62 kB / 0.6879 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003245/0.7031, allocations: 143.3 kB / 0.688 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.7045, allocations: 1.135 MB / 0.6891 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.7047, allocations: 47.84 kB / 0.6892 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.7047, allocations: 1.031 kB / 0.6892 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.7047, allocations: 32.47 kB / 0.6892 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 2.552e-06/0.7047, allocations: 3.938 kB / 0.6892 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0002245/0.705, allocations: 74.2 kB / 0.6893 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/0.705, allocations: 52.53 kB / 0.6893 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.7052, allocations: 179.5 kB / 0.6895 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.942e-06/0.7052, allocations: 26.36 kB / 0.6895 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.054e-05/0.7053, allocations: 143.7 kB / 0.6896 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.7053, allocations: 15.75 kB / 0.6897 GB, free: 12 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.696e-06/0.7053, allocations: 1.062 kB / 0.6897 GB, free: 12 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.758e-05/0.7054, allocations: 320.9 kB / 0.69 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.321e-05/0.7054, allocations: 21.23 kB / 0.69 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.094e-05/0.7055, allocations: 95.86 kB / 0.6901 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.556e-05/0.7056, allocations: 36.91 kB / 0.6901 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.902e-06/0.7056, allocations: 0.9375 kB / 0.6901 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000259/0.7059, allocations: 136.2 kB / 0.6902 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001953/0.7061, allocations: 0.968 MB / 0.6912 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.7061, allocations: 3.969 kB / 0.6912 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.7062, allocations: 10.86 kB / 0.6912 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.7063, allocations: 23.06 kB / 0.6912 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.7064, allocations: 8.641 kB / 0.6912 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.7065, allocations: 18.06 kB / 0.6913 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.7065, allocations: 4.719 kB / 0.6913 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.003e-06/0.7065, allocations: 3.719 kB / 0.6913 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002025/0.7067, allocations: 98.89 kB / 0.6914 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.408e-06/0.7067, allocations: 3.156 kB / 0.6914 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.109e-06/0.7068, allocations: 3.562 kB / 0.6914 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.7069, allocations: 23.45 kB / 0.6914 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.404e-06/0.7069, allocations: 8.234 kB / 0.6914 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.664e-05/0.707, allocations: 15.53 kB / 0.6914 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.707, allocations: 5.938 kB / 0.6914 GB, free: 10.37 MB / 0.5261 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.0001264/0.7071, allocations: 222.6 kB / 0.6916 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.7072, allocations: 8.859 kB / 0.6916 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.699e-05/0.7072, allocations: 13.84 kB / 0.6916 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.7073, allocations: 1.312 kB / 0.6916 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.313e-06/0.7073, allocations: 0 / 0.6916 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.161e-06/0.7073, allocations: 0.6562 kB / 0.6916 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004883/0.7078, allocations: 478.2 kB / 0.6921 GB, free: 9.691 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.844e-06/0.7078, allocations: 1.125 kB / 0.6921 GB, free: 9.691 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.776e-05/0.7079, allocations: 7.266 kB / 0.6921 GB, free: 9.691 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.594e-06/0.7079, allocations: 1 kB / 0.6921 GB, free: 9.691 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.603e-06/0.7079, allocations: 3.219 kB / 0.6921 GB, free: 9.691 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.5e-06/0.7079, allocations: 5.328 kB / 0.6921 GB, free: 9.688 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.823e-06/0.7079, allocations: 1.906 kB / 0.6921 GB, free: 9.688 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.7081, allocations: 153.6 kB / 0.6923 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.7081, allocations: 88.17 kB / 0.6924 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.7082, allocations: 3.438 kB / 0.6924 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.44e-05/0.7082, allocations: 8 kB / 0.6924 GB, free: 9.414 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.15e-05/0.7083, allocations: 3.422 kB / 0.6924 GB, free: 9.414 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.7083, allocations: 7.031 kB / 0.6924 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001132/0.7084, allocations: 121.7 kB / 0.6925 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.36e-07/0.7084, allocations: 0 / 0.6925 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005085/0.7089, allocations: 51.56 kB / 0.6925 GB, free: 9.312 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 8.957e-05/0.709, allocations: 102.8 kB / 0.6926 GB, free: 9.219 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002592/0.7093, allocations: 110.6 kB / 0.6927 GB, free: 9.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.7093, allocations: 1.438 kB / 0.6927 GB, free: 9.18 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.215e-05/0.7094, allocations: 21.73 kB / 0.6928 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.7096, allocations: 27.05 kB / 0.6928 GB, free: 9.16 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005318/0.7102, allocations: 319.9 kB / 0.6931 GB, free: 8.922 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.7104, allocations: 0.7283 MB / 0.6938 GB, free: 8.219 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000119/0.7105, allocations: 30.03 kB / 0.6938 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.092e-05/0.7106, allocations: 12.06 kB / 0.6938 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of SimCode: time 1.302e-06/0.7106, allocations: 0 / 0.6938 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of Templates: time 0.003935/0.7145, allocations: 0.7976 MB / 0.6946 GB, free: 8.105 MB / 0.5261 GB