Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.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.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") 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.947/1.947, allocations: 297.4 MB / 312.6 MB, free: 2.949 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.001247/0.001247, allocations: 170.1 kB / 382.3 MB, free: 14.85 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.396/1.396, allocations: 225.7 MB / 0.6617 GB, free: 7.203 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.0008109/0.000811, allocations: 97 kB / 0.7789 GB, free: 46.96 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003736, allocations: 16.62 kB / 0.9058 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.631/0.6314, allocations: 119.2 MB / 1.022 GB, free: 57.73 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.2087/0.8402, allocations: 189.8 MB / 1.208 GB, free: 14.62 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01966/0.8599, allocations: 13.62 MB / 1.221 GB, free: 1.453 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002459/0.8624, allocations: 35.75 kB / 1.221 GB, free: 1.418 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.002226/0.8647, allocations: 447.7 kB / 1.221 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.006507/0.8712, allocations: 1.684 MB / 1.223 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.004257/0.8755, allocations: 1.03 MB / 1.224 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.006518/0.882, allocations: 3.733 MB / 1.228 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002411/0.8845, allocations: 0.9977 MB / 1.229 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004395/0.8889, allocations: 1.388 MB / 1.23 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00309/0.892, allocations: 0.9266 MB / 1.231 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.000484/0.8925, allocations: 56 kB / 1.231 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005371/0.8979, allocations: 1.88 MB / 1.233 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001173/0.8991, allocations: 450.6 kB / 1.233 GB, free: 7.324 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001909/0.901, allocations: 0.6419 MB / 1.234 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.005753/0.9068, allocations: 2.358 MB / 1.236 GB, free: 4.543 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.9068, allocations: 0 / 1.236 GB, free: 4.543 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9068, allocations: 0 / 1.236 GB, free: 4.543 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.076e-05/0.9069, allocations: 0 / 1.236 GB, free: 4.543 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.003514/0.9104, allocations: 1.444 MB / 1.238 GB, free: 3.043 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.9105, allocations: 11.97 kB / 1.238 GB, free: 3.031 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002111/0.9126, allocations: 316.2 kB / 1.238 GB, free: 2.723 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002419/0.915, allocations: 0.9225 MB / 1.239 GB, free: 1.758 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.471e-05/0.9152, allocations: 85.92 kB / 1.239 GB, free: 1.676 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000278/0.9154, allocations: 107.9 kB / 1.239 GB, free: 1.57 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/0.9179, allocations: 1.171 MB / 1.24 GB, free: 368 kB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.9179, allocations: 0 / 1.24 GB, free: 368 kB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.75e-05/0.918, allocations: 36 kB / 1.24 GB, free: 332 kB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-05/0.9181, allocations: 45.98 kB / 1.24 GB, free: 288 kB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/0.9198, allocations: 0.9291 MB / 1.241 GB, free: 15.34 MB / 0.823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006332/0.9262, allocations: 4.718 MB / 1.246 GB, free: 10.24 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.9274, allocations: 0.7332 MB / 1.246 GB, free: 9.504 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005762/0.928, allocations: 404.2 kB / 1.247 GB, free: 9.109 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006634/0.9286, allocations: 331.8 kB / 1.247 GB, free: 8.73 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.9287, allocations: 39.12 kB / 1.247 GB, free: 8.684 MB / 0.823 GB Notification: Performance of pre-optimization done (n=69): time 3.096e-06/0.9287, allocations: 0 / 1.247 GB, free: 8.684 MB / 0.823 GB Notification: Performance of matching and sorting (n=69): time 0.002117/0.9308, allocations: 1.017 MB / 1.248 GB, free: 7.66 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.9309, allocations: 63.97 kB / 1.248 GB, free: 7.586 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.9321, allocations: 0.779 MB / 1.249 GB, free: 6.801 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.839e-05/0.9322, allocations: 37.7 kB / 1.249 GB, free: 6.758 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000427/0.9327, allocations: 0.5344 MB / 1.25 GB, free: 6.215 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002575/0.9329, allocations: 252.4 kB / 1.25 GB, free: 5.965 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/0.933, allocations: 12 kB / 1.25 GB, free: 5.953 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.9331, allocations: 337.9 kB / 1.25 GB, free: 5.617 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004923/0.9336, allocations: 293.8 kB / 1.25 GB, free: 5.332 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006597/0.9343, allocations: 0.5141 MB / 1.251 GB, free: 4.734 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.9354, allocations: 0.7866 MB / 1.252 GB, free: 3.891 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.9355, allocations: 0 / 1.252 GB, free: 3.891 MB / 0.823 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001595/0.9371, allocations: 0.9179 MB / 1.253 GB, free: 2.965 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001773/0.9373, allocations: 220 kB / 1.253 GB, free: 2.684 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.9373, allocations: 4 kB / 1.253 GB, free: 2.68 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/0.9373, allocations: 11.94 kB / 1.253 GB, free: 2.668 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009191/0.9382, allocations: 180.3 kB / 1.253 GB, free: 2.492 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004751/0.9387, allocations: 0.6094 MB / 1.254 GB, free: 1.859 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.9398, allocations: 125.8 kB / 1.254 GB, free: 1.738 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-05/0.9399, allocations: 35.98 kB / 1.254 GB, free: 1.703 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.9399, allocations: 4 kB / 1.254 GB, free: 1.699 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001315/0.9412, allocations: 0.792 MB / 1.255 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.9413, allocations: 4 kB / 1.255 GB, free: 0.9023 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.9413, allocations: 16.53 kB / 1.255 GB, free: 0.8867 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006337/0.9419, allocations: 163.8 kB / 1.255 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.003e-05/0.942, allocations: 27.8 kB / 1.255 GB, free: 0.6992 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009742/0.943, allocations: 119.2 kB / 1.255 GB, free: 0.582 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-05/0.943, allocations: 28 kB / 1.255 GB, free: 0.5547 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006535/0.9437, allocations: 416.7 kB / 1.255 GB, free: 140 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/0.9439, allocations: 98.78 kB / 1.255 GB, free: 40 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/0.9454, allocations: 0.8021 MB / 1.256 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.9455, allocations: 7.938 kB / 1.256 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.9455, allocations: 5.562 kB / 1.256 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001055/0.9465, allocations: 0.8866 MB / 1.257 GB, free: 14.26 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003716/0.9503, allocations: 2.167 MB / 1.259 GB, free: 11.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.9503, allocations: 4 kB / 1.259 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000749/0.951, allocations: 160.1 kB / 1.259 GB, free: 11.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/0.9511, allocations: 8 kB / 1.259 GB, free: 11.82 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.862e-05/0.9511, allocations: 16 kB / 1.259 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00032/0.9515, allocations: 0.6016 MB / 1.26 GB, free: 11.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.9515, allocations: 7.938 kB / 1.26 GB, free: 11.17 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.9534, allocations: 1.323 MB / 1.261 GB, free: 9.801 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005499/0.9539, allocations: 263.7 kB / 1.261 GB, free: 9.523 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001724/0.9541, allocations: 14.44 kB / 1.261 GB, free: 9.512 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007078/0.9548, allocations: 71.73 kB / 1.262 GB, free: 9.441 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.696e-05/0.955, allocations: 44.5 kB / 1.262 GB, free: 9.398 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.183e-05/0.955, allocations: 27.92 kB / 1.262 GB, free: 9.371 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000778/0.9558, allocations: 0.538 MB / 1.262 GB, free: 8.84 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9558, allocations: 0 / 1.262 GB, free: 8.84 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001673/0.9575, allocations: 0.5687 MB / 1.263 GB, free: 8.27 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (limPID.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],senTraSubPeo.C,senTraSubFre.C) * 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006487/0.9581, allocations: 251.1 kB / 1.263 GB, free: 8.035 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002405/0.9606, allocations: 1.169 MB / 1.264 GB, free: 6.867 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.9606, allocations: 8 kB / 1.264 GB, free: 6.859 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0006354/0.9612, allocations: 370.9 kB / 1.264 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002785/0.964, allocations: 494.3 kB / 1.265 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004866/0.9689, allocations: 2.843 MB / 1.268 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/0.97, allocations: 1.167 MB / 1.269 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001514/0.9715, allocations: 360 kB / 1.269 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003066/0.9719, allocations: 83.42 kB / 1.269 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of SimCode: time 1.493e-06/0.9719, allocations: 0 / 1.269 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of Templates: time 0.03459/1.006, allocations: 17.16 MB / 1.286 GB, free: 0.5586 MB / 0.8542 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)