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.004284/0.004284, allocations: 240.3 kB / 15.81 MB, free: 6.281 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.001175/0.001175, allocations: 179.8 kB / 16.69 MB, free: 5.449 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 3.998/3.998, allocations: 389.1 MB / 406.5 MB, free: 11.84 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 4.472/4.472, allocations: 472.3 MB / 0.9024 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000484/0.0004843, allocations: 12 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1978, allocations: 98.71 MB / 1.105 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003195/0.201, allocations: 2.138 MB / 1.107 GB, free: 39.97 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.2026, allocations: 0.7281 MB / 1.107 GB, free: 39.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.2028, allocations: 0 / 1.107 GB, free: 39.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.203, allocations: 19.86 kB / 1.107 GB, free: 39.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003398/0.2033, allocations: 75.61 kB / 1.107 GB, free: 39.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.2037, allocations: 91.86 kB / 1.108 GB, free: 39.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002967/0.204, allocations: 231.3 kB / 1.108 GB, free: 38.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.2043, allocations: 173.8 kB / 1.108 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.745e-05/0.2044, allocations: 59.78 kB / 1.108 GB, free: 38.6 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.2047, allocations: 95.64 kB / 1.108 GB, free: 38.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.2047, allocations: 4 kB / 1.108 GB, free: 38.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.2049, allocations: 51.91 kB / 1.108 GB, free: 38.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.945e-05/0.205, allocations: 51.81 kB / 1.108 GB, free: 38.4 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.02e-05/0.205, allocations: 45.64 kB / 1.108 GB, free: 38.35 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.2052, allocations: 164.4 kB / 1.108 GB, free: 38.19 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2053, allocations: 0 / 1.108 GB, free: 38.19 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2053, allocations: 6.219 kB / 1.108 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.2053, allocations: 0 / 1.108 GB, free: 38.18 MB / 0.6042 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.0006151/0.2059, allocations: 415.1 kB / 1.109 GB, free: 37.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.206, allocations: 8.031 kB / 1.109 GB, free: 37.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005085/0.2065, allocations: 48.95 kB / 1.109 GB, free: 37.67 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.2067, allocations: 214.8 kB / 1.109 GB, free: 37.42 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.2068, allocations: 9.219 kB / 1.109 GB, free: 37.41 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.2068, allocations: 15.98 kB / 1.109 GB, free: 37.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004289/0.2073, allocations: 235.1 kB / 1.109 GB, free: 37.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.2073, allocations: 0 / 1.109 GB, free: 37.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/0.2073, allocations: 15.88 kB / 1.109 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-05/0.2074, allocations: 16.28 kB / 1.109 GB, free: 37.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003199/0.2077, allocations: 151.9 kB / 1.109 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.2089, allocations: 1.136 MB / 1.111 GB, free: 35.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.564e-05/0.209, allocations: 42.5 kB / 1.111 GB, free: 35.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.528e-05/0.2091, allocations: 16.86 kB / 1.111 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.2091, allocations: 0 / 1.111 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.2091, allocations: 33.62 kB / 1.111 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 2.084e-06/0.2091, allocations: 0 / 1.111 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0002361/0.2094, allocations: 81.58 kB / 1.111 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.778e-05/0.2094, allocations: 51.41 kB / 1.111 GB, free: 35.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.2096, allocations: 168 kB / 1.111 GB, free: 35.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.2097, allocations: 33.69 kB / 1.111 GB, free: 35.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.302e-05/0.2097, allocations: 138.1 kB / 1.111 GB, free: 35.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.2098, allocations: 19.73 kB / 1.111 GB, free: 35.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-06/0.2098, allocations: 7.938 kB / 1.111 GB, free: 35.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.676e-05/0.2099, allocations: 326.8 kB / 1.111 GB, free: 34.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.364e-05/0.2099, allocations: 16 kB / 1.111 GB, free: 34.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.708e-05/0.21, allocations: 88.33 kB / 1.112 GB, free: 34.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.968e-05/0.2101, allocations: 39.41 kB / 1.112 GB, free: 34.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2101, allocations: 0 / 1.112 GB, free: 34.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002502/0.2104, allocations: 133.3 kB / 1.112 GB, free: 34.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.757e-05/0.2105, allocations: 161.4 kB / 1.112 GB, free: 34.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2105, allocations: 5.562 kB / 1.112 GB, free: 34.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.2105, allocations: 4 kB / 1.112 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.2107, allocations: 27.98 kB / 1.112 GB, free: 34.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.2107, allocations: 4 kB / 1.112 GB, free: 34.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.2109, allocations: 17.84 kB / 1.112 GB, free: 34.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.2109, allocations: 11.89 kB / 1.112 GB, free: 34.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.444e-06/0.2109, allocations: 7.75 kB / 1.112 GB, free: 34.19 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001896/0.2111, allocations: 98.64 kB / 1.112 GB, free: 34.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.2111, allocations: 7.938 kB / 1.112 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.082e-06/0.2111, allocations: 6.297 kB / 1.112 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.2113, allocations: 24 kB / 1.112 GB, free: 34.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.2113, allocations: 7.984 kB / 1.112 GB, free: 34.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.089e-05/0.2114, allocations: 6.281 kB / 1.112 GB, free: 34.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.2114, allocations: 8 kB / 1.112 GB, free: 34.04 MB / 0.6042 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.0001241/0.2115, allocations: 217 kB / 1.112 GB, free: 33.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.2116, allocations: 15.77 kB / 1.112 GB, free: 33.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.596e-05/0.2116, allocations: 13.69 kB / 1.112 GB, free: 33.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2116, allocations: 1.844 kB / 1.112 GB, free: 33.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2116, allocations: 0 / 1.112 GB, free: 33.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/0.2117, allocations: 92.94 kB / 1.112 GB, free: 33.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.2117, allocations: 4 kB / 1.112 GB, free: 33.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.722e-05/0.2118, allocations: 0 / 1.112 GB, free: 33.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.2119, allocations: 3.5 kB / 1.112 GB, free: 33.68 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001268/0.212, allocations: 140.9 kB / 1.113 GB, free: 33.53 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001434/0.2122, allocations: 234.7 kB / 1.113 GB, free: 33.29 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.095e-05/0.2122, allocations: 15.98 kB / 1.113 GB, free: 33.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.761e-05/0.2123, allocations: 120 kB / 1.113 GB, free: 33.15 MB / 0.6042 GB Notification: Performance of Backend: time 6.71e-07/0.2123, allocations: 0 / 1.113 GB, free: 33.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00065/0.213, allocations: 209.1 kB / 1.113 GB, free: 32.95 MB / 0.6042 GB Notification: Performance of SimCode: time 0.000784/0.2138, allocations: 0.748 MB / 1.114 GB, free: 32.15 MB / 0.6042 GB Notification: Performance of Templates: time 0.005597/0.2194, allocations: 1.419 MB / 1.115 GB, free: 30.84 MB / 0.6042 GB