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.01069/0.01069, allocations: 221.1 kB / 15.17 MB, free: 5.93 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.00112/0.00112, allocations: 179.4 kB / 16.06 MB, free: 5.828 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.586/3.586, allocations: 389.1 MB / 405.9 MB, free: 11.73 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.879/3.879, allocations: 472.3 MB / 0.9018 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000552/0.0005523, allocations: 10.12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1297, allocations: 98.73 MB / 1.104 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.00263/0.1324, allocations: 2.13 MB / 1.106 GB, free: 39.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1336, allocations: 0.7209 MB / 1.107 GB, free: 39.19 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.346e-05/0.1337, allocations: 7.281 kB / 1.107 GB, free: 39.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.1338, allocations: 19.8 kB / 1.107 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.1341, allocations: 79.61 kB / 1.107 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.1344, allocations: 83.77 kB / 1.107 GB, free: 39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.1346, allocations: 234.8 kB / 1.107 GB, free: 38.78 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.1349, allocations: 175 kB / 1.107 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.379e-05/0.1349, allocations: 55.78 kB / 1.107 GB, free: 38.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.1351, allocations: 102 kB / 1.108 GB, free: 38.44 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.1352, allocations: 8 kB / 1.108 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.1353, allocations: 51.84 kB / 1.108 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.945e-05/0.1354, allocations: 43.89 kB / 1.108 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.1354, allocations: 53.62 kB / 1.108 GB, free: 38.28 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.1356, allocations: 163.9 kB / 1.108 GB, free: 38.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.083e-06/0.1356, allocations: 3 kB / 1.108 GB, free: 38.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.716e-06/0.1357, allocations: 0 / 1.108 GB, free: 38.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.592e-06/0.1357, allocations: 0 / 1.108 GB, free: 38.12 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.0004662/0.1361, allocations: 419.1 kB / 1.108 GB, free: 37.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.1362, allocations: 8.031 kB / 1.108 GB, free: 37.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004429/0.1367, allocations: 53.77 kB / 1.108 GB, free: 37.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.1369, allocations: 206.9 kB / 1.109 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.1369, allocations: 12.27 kB / 1.109 GB, free: 37.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.1369, allocations: 15.98 kB / 1.109 GB, free: 37.33 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003509/0.1373, allocations: 234.4 kB / 1.109 GB, free: 37.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1373, allocations: 0 / 1.109 GB, free: 37.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.1373, allocations: 7.953 kB / 1.109 GB, free: 37.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.472e-05/0.1374, allocations: 16.28 kB / 1.109 GB, free: 37.06 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002594/0.1377, allocations: 145.8 kB / 1.109 GB, free: 36.92 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009365/0.1386, allocations: 1.141 MB / 1.11 GB, free: 35.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.671e-05/0.1387, allocations: 42.5 kB / 1.11 GB, free: 35.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.723e-05/0.1388, allocations: 16.86 kB / 1.11 GB, free: 35.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.1388, allocations: 1.828 kB / 1.11 GB, free: 35.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.1388, allocations: 30.56 kB / 1.11 GB, free: 35.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 2.052e-06/0.1388, allocations: 0 / 1.11 GB, free: 35.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0002043/0.139, allocations: 84.7 kB / 1.11 GB, free: 35.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.1391, allocations: 55.34 kB / 1.11 GB, free: 35.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.1392, allocations: 172 kB / 1.11 GB, free: 35.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.388e-06/0.1392, allocations: 25.7 kB / 1.11 GB, free: 35.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.1393, allocations: 139.4 kB / 1.111 GB, free: 35.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.1393, allocations: 23.73 kB / 1.111 GB, free: 35.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.9e-06/0.1394, allocations: 0 / 1.111 GB, free: 35.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.386e-05/0.1394, allocations: 329.8 kB / 1.111 GB, free: 34.69 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.625e-05/0.1395, allocations: 20 kB / 1.111 GB, free: 34.67 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.867e-05/0.1396, allocations: 88.14 kB / 1.111 GB, free: 34.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.51e-05/0.1396, allocations: 43.17 kB / 1.111 GB, free: 34.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.571e-06/0.1397, allocations: 0 / 1.111 GB, free: 34.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002213/0.1399, allocations: 128.5 kB / 1.111 GB, free: 34.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.748e-05/0.14, allocations: 160.5 kB / 1.111 GB, free: 34.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.723e-06/0.14, allocations: 10.86 kB / 1.111 GB, free: 34.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.14, allocations: 4 kB / 1.111 GB, free: 34.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.1401, allocations: 23.98 kB / 1.111 GB, free: 34.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.265e-06/0.1402, allocations: 7.938 kB / 1.111 GB, free: 34.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.1403, allocations: 23.7 kB / 1.111 GB, free: 34.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.1403, allocations: 4 kB / 1.111 GB, free: 34.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.48e-06/0.1403, allocations: 4 kB / 1.111 GB, free: 34.12 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001646/0.1405, allocations: 107.6 kB / 1.112 GB, free: 34.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.946e-06/0.1405, allocations: 4 kB / 1.112 GB, free: 34.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.153e-06/0.1405, allocations: 4.688 kB / 1.112 GB, free: 34.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.004e-05/0.1406, allocations: 20 kB / 1.112 GB, free: 33.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.433e-06/0.1406, allocations: 15.36 kB / 1.112 GB, free: 33.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.881e-05/0.1407, allocations: 12 kB / 1.112 GB, free: 33.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.831e-06/0.1407, allocations: 4 kB / 1.112 GB, free: 33.96 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.0001/0.1409, allocations: 217 kB / 1.112 GB, free: 33.74 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.1409, allocations: 15.77 kB / 1.112 GB, free: 33.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.172e-05/0.141, allocations: 12.94 kB / 1.112 GB, free: 33.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.81e-06/0.141, allocations: 0 / 1.112 GB, free: 33.71 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.141, allocations: 3.219 kB / 1.112 GB, free: 33.71 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.997e-06/0.141, allocations: 0 / 1.112 GB, free: 33.71 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003964/0.1414, allocations: 469.1 kB / 1.112 GB, free: 33.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.798e-06/0.1414, allocations: 0 / 1.112 GB, free: 33.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.269e-05/0.1415, allocations: 10.97 kB / 1.112 GB, free: 33.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.301e-06/0.1415, allocations: 2.297 kB / 1.112 GB, free: 33.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1415, allocations: 8 kB / 1.112 GB, free: 33.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.676e-06/0.1415, allocations: 0 / 1.112 GB, free: 33.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.018e-06/0.1415, allocations: 3.938 kB / 1.112 GB, free: 33.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.1416, allocations: 117.7 kB / 1.112 GB, free: 33.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.696e-05/0.1417, allocations: 85.02 kB / 1.112 GB, free: 32.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.1417, allocations: 4.812 kB / 1.112 GB, free: 32.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.211e-05/0.1418, allocations: 0 / 1.112 GB, free: 32.92 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.1418, allocations: 14.55 kB / 1.112 GB, free: 32.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.1418, allocations: 0 / 1.112 GB, free: 32.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.914e-05/0.1419, allocations: 120 kB / 1.113 GB, free: 32.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.358e-06/0.1419, allocations: 0 / 1.113 GB, free: 32.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005051/0.1425, allocations: 55.78 kB / 1.113 GB, free: 32.73 MB / 0.6042 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 7.725e-05/0.1426, allocations: 102.5 kB / 1.113 GB, free: 32.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002299/0.1428, allocations: 107 kB / 1.113 GB, free: 32.53 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.997e-06/0.1428, allocations: 0 / 1.113 GB, free: 32.53 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.85e-05/0.1429, allocations: 23.92 kB / 1.113 GB, free: 32.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.1432, allocations: 19.94 kB / 1.113 GB, free: 32.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004828/0.1437, allocations: 324.1 kB / 1.113 GB, free: 32.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/0.1439, allocations: 0.728 MB / 1.114 GB, free: 31.38 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001047/0.144, allocations: 23.69 kB / 1.114 GB, free: 31.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.144, allocations: 15.44 kB / 1.114 GB, free: 31.35 MB / 0.6042 GB Notification: Performance of SimCode: time 1.224e-06/0.144, allocations: 0 / 1.114 GB, free: 31.35 MB / 0.6042 GB Notification: Performance of Templates: time 0.00358/0.1476, allocations: 0.7817 MB / 1.115 GB, free: 30.61 MB / 0.6042 GB