Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.753/1.753, allocations: 292.3 MB / 308.1 MB, free: 4.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001861/0.001861, allocations: 190.4 kB / 376.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.1 MB / 0.6354 GB, free: 9.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008986/0.0008987, allocations: 96.3 kB / 0.748 GB, free: 61.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 59.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2479, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.6583/0.9063, allocations: 182.8 MB / 1.161 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01025/0.9166, allocations: 7.031 MB / 1.168 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.9179, allocations: 20.94 kB / 1.168 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.9192, allocations: 345.8 kB / 1.168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.003735/0.923, allocations: 1.36 MB / 1.169 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003032/0.926, allocations: 1.047 MB / 1.17 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.003131/0.9291, allocations: 2.718 MB / 1.173 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.9302, allocations: 0.5493 MB / 1.173 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001835/0.932, allocations: 0.7356 MB / 1.174 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001841/0.9339, allocations: 0.6174 MB / 1.175 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0002001/0.9341, allocations: 38.53 kB / 1.175 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00462/0.9387, allocations: 2.194 MB / 1.177 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0006968/0.9394, allocations: 263.5 kB / 1.177 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001281/0.9407, allocations: 401.7 kB / 1.178 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00557/0.9463, allocations: 1.83 MB / 1.179 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.9464, allocations: 0 / 1.179 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9464, allocations: 4 kB / 1.179 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.745e-05/0.9465, allocations: 0 / 1.179 GB, free: 7.598 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.003965/0.9504, allocations: 1.157 MB / 1.181 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.9505, allocations: 9.438 kB / 1.181 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003041/0.9536, allocations: 268.6 kB / 1.181 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/0.9553, allocations: 0.572 MB / 1.181 GB, free: 6.332 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.152e-05/0.9554, allocations: 39.91 kB / 1.181 GB, free: 6.312 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/0.9556, allocations: 69.17 kB / 1.181 GB, free: 6.285 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.9573, allocations: 0.6358 MB / 1.182 GB, free: 6.016 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.9573, allocations: 5.062 kB / 1.182 GB, free: 6.012 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.571e-05/0.9574, allocations: 19.06 kB / 1.182 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.693e-05/0.9574, allocations: 24.19 kB / 1.182 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.9588, allocations: 0.5143 MB / 1.183 GB, free: 5.836 MB / 0.7761 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.004474/0.9633, allocations: 2.441 MB / 1.185 GB, free: 4.043 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008961/0.9642, allocations: 390.4 kB / 1.185 GB, free: 3.875 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005137/0.9648, allocations: 232.4 kB / 1.186 GB, free: 3.793 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007255/0.9655, allocations: 313.5 kB / 1.186 GB, free: 3.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.9656, allocations: 37.72 kB / 1.186 GB, free: 3.457 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=39): time 3.938e-06/0.9656, allocations: 1.125 kB / 1.186 GB, free: 3.457 MB / 0.7761 GB Notification: Performance of matching and sorting (n=39): time 0.001816/0.9674, allocations: 0.6127 MB / 1.187 GB, free: 3.223 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.9675, allocations: 57.47 kB / 1.187 GB, free: 3.16 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005871/0.9681, allocations: 498.4 kB / 1.187 GB, free: 2.941 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.389e-05/0.9681, allocations: 36.61 kB / 1.187 GB, free: 2.902 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.9684, allocations: 323.3 kB / 1.187 GB, free: 2.645 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.9685, allocations: 143.6 kB / 1.188 GB, free: 2.535 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.9687, allocations: 95.88 kB / 1.188 GB, free: 2.48 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.9688, allocations: 364.9 kB / 1.188 GB, free: 2.145 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003177/0.9691, allocations: 169.5 kB / 1.188 GB, free: 2.086 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004037/0.9696, allocations: 290.3 kB / 1.188 GB, free: 1.902 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006924/0.9703, allocations: 445.1 kB / 1.189 GB, free: 1.668 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.9703, allocations: 7.094 kB / 1.189 GB, free: 1.664 MB / 0.7761 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009813/0.9713, allocations: 0.5285 MB / 1.189 GB, free: 1.441 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.9713, allocations: 6.344 kB / 1.189 GB, free: 1.441 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.9713, allocations: 0 / 1.189 GB, free: 1.441 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.9713, allocations: 6.156 kB / 1.189 GB, free: 1.441 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007199/0.9721, allocations: 135 kB / 1.19 GB, free: 1.426 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004053/0.9725, allocations: 0.5946 MB / 1.19 GB, free: 0.832 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007359/0.9732, allocations: 81.59 kB / 1.19 GB, free: 0.7969 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.933e-05/0.9733, allocations: 16.81 kB / 1.19 GB, free: 0.793 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005317/0.9738, allocations: 352.4 kB / 1.191 GB, free: 0.6133 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004064/0.9742, allocations: 283.4 kB / 1.191 GB, free: 444 kB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008539/0.9751, allocations: 450.1 kB / 1.191 GB, free: 200 kB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.248e-06/0.9751, allocations: 4 kB / 1.191 GB, free: 196 kB / 0.7761 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009471/0.9761, allocations: 0.5191 MB / 1.192 GB, free: 15.97 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.9761, allocations: 6.094 kB / 1.192 GB, free: 15.97 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.9761, allocations: 11.06 kB / 1.192 GB, free: 15.96 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.174e-06/0.9761, allocations: 3.875 kB / 1.192 GB, free: 15.96 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004867/0.9766, allocations: 124.4 kB / 1.192 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.9767, allocations: 6.438 kB / 1.192 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006576/0.9773, allocations: 67.64 kB / 1.192 GB, free: 15.92 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.272e-05/0.9774, allocations: 20.25 kB / 1.192 GB, free: 15.91 MB / 0.7917 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.0001856/0.9776, allocations: 201.8 kB / 1.192 GB, free: 15.72 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.9777, allocations: 58.94 kB / 1.192 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.9787, allocations: 488.5 kB / 1.193 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.9788, allocations: 5.344 kB / 1.193 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.9788, allocations: 0 / 1.193 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008648/0.9796, allocations: 0.7051 MB / 1.193 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002386/0.982, allocations: 1.277 MB / 1.195 GB, free: 14.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.944e-06/0.9821, allocations: 3.75 kB / 1.195 GB, free: 14.2 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006557/0.9827, allocations: 129.6 kB / 1.195 GB, free: 14.19 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.739e-06/0.9828, allocations: 2.781 kB / 1.195 GB, free: 14.19 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.563e-05/0.9828, allocations: 13.2 kB / 1.195 GB, free: 14.19 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000357/0.9832, allocations: 0.5941 MB / 1.195 GB, free: 13.59 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.9832, allocations: 1.469 kB / 1.195 GB, free: 13.59 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01088/0.9941, allocations: 4.514 MB / 1.2 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003793/0.9945, allocations: 186.3 kB / 1.2 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.9946, allocations: 9.562 kB / 1.2 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005687/0.9952, allocations: 49.59 kB / 1.2 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.75e-05/0.9953, allocations: 35.84 kB / 1.2 GB, free: 10.83 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.259e-05/0.9954, allocations: 14.03 kB / 1.2 GB, free: 10.83 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0005718/0.9959, allocations: 349 kB / 1.2 GB, free: 10.67 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9959, allocations: 0 / 1.2 GB, free: 10.67 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002723/0.9987, allocations: 0.5756 MB / 1.201 GB, free: 10.59 MB / 0.7917 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.001006/0.9997, allocations: 216.3 kB / 1.201 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001969/1.002, allocations: 0.6648 MB / 1.202 GB, free: 10.25 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/1.002, allocations: 0 / 1.202 GB, free: 10.25 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.000537/1.002, allocations: 227.3 kB / 1.202 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002125/1.004, allocations: 364.4 kB / 1.202 GB, free: 10.09 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003512/1.008, allocations: 1.904 MB / 1.204 GB, free: 8.812 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007534/1.009, allocations: 0.9605 MB / 1.205 GB, free: 8.082 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0009692/1.01, allocations: 214.1 kB / 1.205 GB, free: 8.047 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/1.01, allocations: 56.73 kB / 1.205 GB, free: 8.035 MB / 0.7917 GB Notification: Performance of SimCode: time 7.62e-07/1.01, allocations: 1.469 kB / 1.205 GB, free: 8.035 MB / 0.7917 GB Notification: Performance of Templates: time 0.02988/1.04, allocations: 13.55 MB / 1.219 GB, free: 7.121 MB / 0.7917 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)