Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 197 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.1 MB / 222 MB, free: 4.996 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.539/1.539, allocations: 251.6 MB / 0.5088 GB, free: 3.379 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.91 kB / 0.6216 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5498/0.5512, allocations: 104.7 MB / 0.7238 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.1997/0.7509, allocations: 183 MB / 0.9025 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.632/1.383, allocations: 7.098 MB / 0.9094 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001489/1.384, allocations: 22.44 kB / 0.9095 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001357/1.386, allocations: 339.8 kB / 0.9098 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004461/1.39, allocations: 1.372 MB / 0.9111 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00385/1.394, allocations: 1.068 MB / 0.9122 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005009/1.399, allocations: 2.769 MB / 0.9149 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001165/1.4, allocations: 0.5682 MB / 0.9154 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002274/1.403, allocations: 0.7421 MB / 0.9162 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001815/1.405, allocations: 0.6336 MB / 0.9168 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001396/1.405, allocations: 37.91 kB / 0.9168 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005534/1.41, allocations: 2.197 MB / 0.919 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006027/1.411, allocations: 266.3 kB / 0.9192 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000923/1.412, allocations: 401.7 kB / 0.9196 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004498/1.416, allocations: 1.851 MB / 0.9214 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.416, allocations: 0 / 0.9214 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.92e-07/1.416, allocations: 0 / 0.9214 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.476e-05/1.416, allocations: 2.25 kB / 0.9214 GB, free: 1.625 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002505/1.419, allocations: 1.172 MB / 0.9225 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.419, allocations: 12.53 kB / 0.9226 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002173/1.421, allocations: 273.8 kB / 0.9228 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/1.422, allocations: 0.5692 MB / 0.9234 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.795e-05/1.422, allocations: 43.28 kB / 0.9234 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-05/1.422, allocations: 58.02 kB / 0.9235 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/1.423, allocations: 0.6444 MB / 0.9241 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/1.424, allocations: 0 / 0.9241 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.441e-05/1.424, allocations: 21.53 kB / 0.9241 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.863e-05/1.424, allocations: 17.53 kB / 0.9241 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008795/1.424, allocations: 0.5239 MB / 0.9247 GB, free: 16.54 MB / 0.7325 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.003135/1.428, allocations: 2.45 MB / 0.927 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006229/1.428, allocations: 379 kB / 0.9274 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003746/1.429, allocations: 235.1 kB / 0.9276 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006347/1.429, allocations: 310.7 kB / 0.9279 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/1.429, allocations: 39.83 kB / 0.928 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 1.783e-06/1.429, allocations: 2.531 kB / 0.928 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39): time 0.001667/1.431, allocations: 0.6081 MB / 0.9286 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/1.431, allocations: 60.78 kB / 0.9286 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007363/1.432, allocations: 0.4955 MB / 0.9291 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.252e-05/1.432, allocations: 39.11 kB / 0.9291 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003161/1.432, allocations: 322.9 kB / 0.9294 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/1.432, allocations: 137.3 kB / 0.9296 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/1.433, allocations: 88.34 kB / 0.9297 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002592/1.433, allocations: 363.6 kB / 0.93 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/1.433, allocations: 176.1 kB / 0.9302 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004558/1.434, allocations: 279.8 kB / 0.9304 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007669/1.434, allocations: 449.8 kB / 0.9309 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/1.434, allocations: 0 / 0.9309 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009215/1.435, allocations: 0.5171 MB / 0.9314 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/1.435, allocations: 9.156 kB / 0.9314 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.435, allocations: 3.375 kB / 0.9314 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/1.435, allocations: 6.5 kB / 0.9314 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000732/1.436, allocations: 132.6 kB / 0.9315 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004268/1.437, allocations: 0.5934 MB / 0.9321 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007031/1.437, allocations: 79.17 kB / 0.9322 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.674e-05/1.437, allocations: 17.12 kB / 0.9322 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005186/1.438, allocations: 352.9 kB / 0.9325 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003752/1.438, allocations: 273.8 kB / 0.9328 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006676/1.439, allocations: 447.8 kB / 0.9332 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.665e-06/1.439, allocations: 1.094 kB / 0.9332 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008467/1.44, allocations: 0.5217 MB / 0.9337 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.517e-06/1.44, allocations: 6.375 kB / 0.9337 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/1.44, allocations: 4.719 kB / 0.9337 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.239e-06/1.44, allocations: 5.25 kB / 0.9337 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004871/1.44, allocations: 118 kB / 0.9339 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/1.44, allocations: 5.672 kB / 0.9339 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000655/1.441, allocations: 64.5 kB / 0.9339 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/1.441, allocations: 18.91 kB / 0.9339 GB, free: 12.7 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (53): * Single equations (assignments): 52 * 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.0002392/1.441, allocations: 220 kB / 0.9342 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/1.442, allocations: 56.19 kB / 0.9342 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008863/1.442, allocations: 482.2 kB / 0.9347 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/1.442, allocations: 2.094 kB / 0.9347 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/1.442, allocations: 0 / 0.9347 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007761/1.443, allocations: 0.7046 MB / 0.9354 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/1.445, allocations: 1.267 MB / 0.9366 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/1.445, allocations: 7.531 kB / 0.9366 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007023/1.446, allocations: 125.7 kB / 0.9367 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/1.446, allocations: 5.594 kB / 0.9367 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.638e-05/1.446, allocations: 13.41 kB / 0.9367 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005057/1.447, allocations: 0.6018 MB / 0.9373 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/1.447, allocations: 1.781 kB / 0.9373 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/1.448, allocations: 0.8247 MB / 0.9381 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000348/1.448, allocations: 185.7 kB / 0.9383 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.472e-05/1.449, allocations: 9.375 kB / 0.9383 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005543/1.449, allocations: 51.31 kB / 0.9384 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/1.449, allocations: 34.53 kB / 0.9384 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.281e-05/1.449, allocations: 19.91 kB / 0.9384 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004875/1.45, allocations: 350.8 kB / 0.9388 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.45, allocations: 0 / 0.9388 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001338/1.451, allocations: 368.7 kB / 0.9391 GB, free: 10.5 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.d) * 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 (39): * Single equations (assignments): 38 * 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.0004992/1.452, allocations: 210 kB / 0.9393 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001411/1.453, allocations: 0.6627 MB / 0.94 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.453, allocations: 1.516 kB / 0.94 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003931/1.453, allocations: 221.8 kB / 0.9402 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/1.455, allocations: 352.5 kB / 0.9405 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/1.458, allocations: 1.634 MB / 0.9421 GB, free: 9.402 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005443/1.458, allocations: 0.9486 MB / 0.943 GB, free: 8.688 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007837/1.459, allocations: 211 kB / 0.9432 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/1.459, allocations: 47.92 kB / 0.9433 GB, free: 8.641 MB / 0.7325 GB Notification: Performance of SimCode: time 5.61e-07/1.459, allocations: 0 / 0.9433 GB, free: 8.641 MB / 0.7325 GB Notification: Performance of Templates: time 0.02057/1.48, allocations: 12.03 MB / 0.955 GB, free: 7.945 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)