Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.826/1.826, allocations: 297.4 MB / 312.6 MB, free: 2.863 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 193.2 kB / 382.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.7 MB / 0.6617 GB, free: 7.23 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000777/0.000777, allocations: 95.09 kB / 0.7789 GB, free: 47.01 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003825, allocations: 15.98 kB / 0.9058 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6313/0.6317, allocations: 119.2 MB / 1.022 GB, free: 58.15 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002993/0.6347, allocations: 2.145 MB / 1.024 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.636, allocations: 1.289 MB / 1.026 GB, free: 55.98 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.03e-05/0.6361, allocations: 0 / 1.026 GB, free: 55.98 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.6363, allocations: 27.75 kB / 1.026 GB, free: 55.96 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00035/0.6367, allocations: 102.2 kB / 1.026 GB, free: 55.91 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.637, allocations: 102.4 kB / 1.026 GB, free: 55.86 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003375/0.6374, allocations: 296 kB / 1.026 GB, free: 55.77 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002722/0.6376, allocations: 184.2 kB / 1.026 GB, free: 55.63 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.203e-05/0.6377, allocations: 56.52 kB / 1.026 GB, free: 55.61 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.638, allocations: 97.44 kB / 1.026 GB, free: 55.57 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.638, allocations: 8.125 kB / 1.026 GB, free: 55.57 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002423/0.6382, allocations: 133.7 kB / 1.027 GB, free: 55.53 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.381e-05/0.6383, allocations: 49.86 kB / 1.027 GB, free: 55.51 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.663e-05/0.6384, allocations: 88.41 kB / 1.027 GB, free: 55.45 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.6387, allocations: 222.6 kB / 1.027 GB, free: 55.38 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.6387, allocations: 0.9375 kB / 1.027 GB, free: 55.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6388, allocations: 4.5 kB / 1.027 GB, free: 55.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.6388, allocations: 0.5312 kB / 1.027 GB, free: 55.38 MB / 0.698 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.0005092/0.6393, allocations: 419.5 kB / 1.027 GB, free: 54.97 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.6393, allocations: 10.88 kB / 1.027 GB, free: 54.97 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000326/0.6397, allocations: 48.31 kB / 1.027 GB, free: 54.96 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.6399, allocations: 221.2 kB / 1.028 GB, free: 54.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.6399, allocations: 11.03 kB / 1.028 GB, free: 54.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.6399, allocations: 13.53 kB / 1.028 GB, free: 54.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/0.6402, allocations: 234 kB / 1.028 GB, free: 54.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.6403, allocations: 192 / 1.028 GB, free: 54.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.6403, allocations: 6.844 kB / 1.028 GB, free: 54.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.161e-05/0.6403, allocations: 20.58 kB / 1.028 GB, free: 54.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.6405, allocations: 145.6 kB / 1.028 GB, free: 54.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008391/0.6414, allocations: 1.124 MB / 1.029 GB, free: 53.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.269e-05/0.6415, allocations: 45 kB / 1.029 GB, free: 53.45 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.945e-05/0.6415, allocations: 20.7 kB / 1.029 GB, free: 53.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.6415, allocations: 1.344 kB / 1.029 GB, free: 53.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.161e-05/0.6415, allocations: 31.78 kB / 1.029 GB, free: 53.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 2.114e-06/0.6415, allocations: 2.062 kB / 1.029 GB, free: 53.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001664/0.6417, allocations: 82.45 kB / 1.029 GB, free: 53.34 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.878e-05/0.6417, allocations: 56.09 kB / 1.029 GB, free: 53.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.6419, allocations: 167.4 kB / 1.029 GB, free: 53.15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.6419, allocations: 26.52 kB / 1.03 GB, free: 53.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.6419, allocations: 143.2 kB / 1.03 GB, free: 52.99 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.274e-05/0.642, allocations: 14.55 kB / 1.03 GB, free: 52.98 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.642, allocations: 3.625 kB / 1.03 GB, free: 52.98 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.104e-05/0.642, allocations: 325.4 kB / 1.03 GB, free: 52.66 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.419e-05/0.6421, allocations: 15.94 kB / 1.03 GB, free: 52.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.896e-05/0.6421, allocations: 93.75 kB / 1.03 GB, free: 52.56 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.6422, allocations: 124.4 kB / 1.03 GB, free: 52.44 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.6423, allocations: 0 / 1.03 GB, free: 52.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001616/0.6424, allocations: 131.5 kB / 1.03 GB, free: 52.37 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.796e-05/0.6425, allocations: 170.3 kB / 1.03 GB, free: 52.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.6425, allocations: 3.656 kB / 1.03 GB, free: 52.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.6425, allocations: 3.031 kB / 1.03 GB, free: 52.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.6426, allocations: 23.83 kB / 1.031 GB, free: 52.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.6426, allocations: 10.88 kB / 1.031 GB, free: 52.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.732e-05/0.6427, allocations: 25.81 kB / 1.031 GB, free: 52.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.6427, allocations: 5.656 kB / 1.031 GB, free: 52.15 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.532e-06/0.6427, allocations: 6.125 kB / 1.031 GB, free: 52.15 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001202/0.6429, allocations: 93.11 kB / 1.031 GB, free: 52.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.6429, allocations: 2.25 kB / 1.031 GB, free: 52.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.148e-06/0.6429, allocations: 11.14 kB / 1.031 GB, free: 52.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.147e-05/0.643, allocations: 27.17 kB / 1.031 GB, free: 52.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.643, allocations: 6 kB / 1.031 GB, free: 52.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.266e-05/0.643, allocations: 8.938 kB / 1.031 GB, free: 52.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.6431, allocations: 8.516 kB / 1.031 GB, free: 52.1 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.058e-05/0.6432, allocations: 216.3 kB / 1.031 GB, free: 51.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.6432, allocations: 9.516 kB / 1.031 GB, free: 51.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.659e-05/0.6432, allocations: 15.67 kB / 1.031 GB, free: 51.88 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.6432, allocations: 0 / 1.031 GB, free: 51.88 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.6432, allocations: 4 kB / 1.031 GB, free: 51.87 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.6432, allocations: 6.438 kB / 1.031 GB, free: 51.87 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.6435, allocations: 468 kB / 1.031 GB, free: 51.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.6436, allocations: 0 / 1.031 GB, free: 51.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.178e-05/0.6436, allocations: 11.97 kB / 1.031 GB, free: 51.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.6436, allocations: 4.062 kB / 1.031 GB, free: 51.42 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.6436, allocations: 8.5 kB / 1.031 GB, free: 51.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.6436, allocations: 2 kB / 1.031 GB, free: 51.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6436, allocations: 5.156 kB / 1.031 GB, free: 51.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.581e-05/0.6437, allocations: 106.4 kB / 1.032 GB, free: 51.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.689e-05/0.6438, allocations: 97.36 kB / 1.032 GB, free: 51.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.6438, allocations: 9.312 kB / 1.032 GB, free: 51.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.435e-05/0.6438, allocations: 1.375 kB / 1.032 GB, free: 51.19 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/0.6439, allocations: 5.703 kB / 1.032 GB, free: 51.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.6439, allocations: 1.375 kB / 1.032 GB, free: 51.19 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.195e-05/0.6439, allocations: 123.8 kB / 1.032 GB, free: 51.11 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.31e-07/0.6439, allocations: 0 / 1.032 GB, free: 51.11 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002983/0.6442, allocations: 57.03 kB / 1.032 GB, free: 51.09 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.889e-05/0.6443, allocations: 113.1 kB / 1.032 GB, free: 51 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001707/0.6445, allocations: 100 kB / 1.032 GB, free: 50.97 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.6445, allocations: 2.625 kB / 1.032 GB, free: 50.97 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.462e-05/0.6445, allocations: 20.14 kB / 1.032 GB, free: 50.96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.6448, allocations: 32.48 kB / 1.032 GB, free: 50.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004427/0.6453, allocations: 334.1 kB / 1.032 GB, free: 50.69 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.6455, allocations: 0.72 MB / 1.033 GB, free: 49.99 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.573e-05/0.6456, allocations: 27.77 kB / 1.033 GB, free: 49.99 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.612e-05/0.6456, allocations: 14.47 kB / 1.033 GB, free: 49.98 MB / 0.698 GB Notification: Performance of SimCode: time 4.1e-07/0.6456, allocations: 0 / 1.033 GB, free: 49.98 MB / 0.698 GB Notification: Performance of Templates: time 0.002787/0.6484, allocations: 0.8031 MB / 1.034 GB, free: 49.89 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)