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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 108.3 kB / 16.29 MB, free: 6.012 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.001645/0.001645, allocations: 185.2 kB / 17.22 MB, free: 5.621 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.508/1.508, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.86/1.86, allocations: 292.3 MB / 0.5495 GB, free: 17.4 MB / 462.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.00147/0.00147, allocations: 71.89 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2854, allocations: 114.6 MB / 0.7841 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.6632/0.9486, allocations: 185 MB / 0.9648 GB, free: 1.449 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01103/0.9597, allocations: 6.943 MB / 0.9716 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.9609, allocations: 27.81 kB / 0.9716 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001449/0.9624, allocations: 401.5 kB / 0.972 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004491/0.9669, allocations: 1.436 MB / 0.9734 GB, free: 8.633 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00332/0.9703, allocations: 1.168 MB / 0.9745 GB, free: 7.469 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003165/0.9734, allocations: 1.93 MB / 0.9764 GB, free: 5.535 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009619/0.9744, allocations: 0.646 MB / 0.977 GB, free: 4.875 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001763/0.9762, allocations: 0.8211 MB / 0.9778 GB, free: 4.051 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001391/0.9776, allocations: 0.6032 MB / 0.9784 GB, free: 3.449 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.9778, allocations: 68 kB / 0.9785 GB, free: 3.383 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00423/0.982, allocations: 1.933 MB / 0.9804 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0004198/0.9824, allocations: 295.1 kB / 0.9806 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.000681/0.9831, allocations: 426.1 kB / 0.9811 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003467/0.9866, allocations: 1.769 MB / 0.9828 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.9866, allocations: 0 / 0.9828 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9866, allocations: 0 / 0.9828 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.9866, allocations: 0 / 0.9828 GB, free: 14.96 MB / 0.7794 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.001911/0.9886, allocations: 1.16 MB / 0.9839 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.9886, allocations: 8.031 kB / 0.9839 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/0.9905, allocations: 270.7 kB / 0.9842 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000907/0.9914, allocations: 0.5753 MB / 0.9847 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.639e-05/0.9915, allocations: 45.31 kB / 0.9848 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.9916, allocations: 52 kB / 0.9848 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.9927, allocations: 0.6386 MB / 0.9855 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.9927, allocations: 3.938 kB / 0.9855 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.107e-05/0.9928, allocations: 24 kB / 0.9855 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/0.9929, allocations: 17.31 kB / 0.9855 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009171/0.9938, allocations: 0.5204 MB / 0.986 GB, free: 11.55 MB / 0.7794 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.003018/0.9968, allocations: 2.445 MB / 0.9884 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000638/0.9975, allocations: 380.4 kB / 0.9888 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003861/0.9979, allocations: 235.4 kB / 0.989 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000575/0.9984, allocations: 303.9 kB / 0.9893 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.9985, allocations: 46.55 kB / 0.9893 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=39): time 2.434e-06/0.9985, allocations: 0 / 0.9893 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39): time 0.001352/0.9999, allocations: 0.6099 MB / 0.9899 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.9999, allocations: 59.39 kB / 0.99 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000555/1, allocations: 0.4988 MB / 0.9905 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.147e-05/1.001, allocations: 33.7 kB / 0.9905 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000245/1.001, allocations: 328.3 kB / 0.9908 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/1.001, allocations: 134.1 kB / 0.9909 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/1.001, allocations: 90.03 kB / 0.991 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001552/1.001, allocations: 362.8 kB / 0.9914 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003484/1.002, allocations: 174.5 kB / 0.9915 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004195/1.002, allocations: 290 kB / 0.9918 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007678/1.003, allocations: 457.7 kB / 0.9922 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.003, allocations: 0 / 0.9922 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001012/1.004, allocations: 0.5167 MB / 0.9927 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/1.004, allocations: 9.531 kB / 0.9928 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.639e-06/1.004, allocations: 4 kB / 0.9928 GB, free: 4.215 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/1.004, allocations: 4 kB / 0.9928 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007446/1.005, allocations: 134 kB / 0.9929 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004916/1.005, allocations: 0.6015 MB / 0.9935 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005668/1.006, allocations: 55.69 kB / 0.9935 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.677e-05/1.006, allocations: 12 kB / 0.9935 GB, free: 3.391 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006381/1.006, allocations: 356.8 kB / 0.9939 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004637/1.007, allocations: 284.3 kB / 0.9942 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007456/1.008, allocations: 449.3 kB / 0.9946 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.838e-06/1.008, allocations: 3.844 kB / 0.9946 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009575/1.009, allocations: 0.5278 MB / 0.9951 GB, free: 1.719 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/1.009, allocations: 7.938 kB / 0.9951 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/1.009, allocations: 7.938 kB / 0.9951 GB, free: 1.703 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.443e-06/1.009, allocations: 4 kB / 0.9951 GB, free: 1.699 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004874/1.009, allocations: 120.1 kB / 0.9952 GB, free: 1.582 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/1.009, allocations: 6 kB / 0.9952 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005204/1.01, allocations: 44.36 kB / 0.9953 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/1.01, allocations: 16 kB / 0.9953 GB, free: 1.52 MB / 0.7794 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.0002716/1.01, allocations: 208.1 kB / 0.9955 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/1.01, allocations: 59.28 kB / 0.9956 GB, free: 1.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009543/1.011, allocations: 482.7 kB / 0.996 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/1.011, allocations: 4 kB / 0.996 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.011, allocations: 3.938 kB / 0.996 GB, free: 0.7617 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000856/1.012, allocations: 0.7004 MB / 0.9967 GB, free: 15.97 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/1.014, allocations: 1.286 MB / 0.998 GB, free: 14.61 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/1.014, allocations: 2.062 kB / 0.998 GB, free: 14.61 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006522/1.015, allocations: 132.9 kB / 0.9981 GB, free: 14.48 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/1.015, allocations: 4 kB / 0.9981 GB, free: 14.48 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.663e-05/1.015, allocations: 12 kB / 0.9981 GB, free: 14.47 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003892/1.015, allocations: 0.5899 MB / 0.9987 GB, free: 13.86 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.015, allocations: 4.031 kB / 0.9987 GB, free: 13.85 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/1.017, allocations: 0.8213 MB / 0.9995 GB, free: 12.99 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/1.017, allocations: 176.5 kB / 0.9997 GB, free: 12.8 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.942e-05/1.017, allocations: 21.8 kB / 0.9997 GB, free: 12.78 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003708/1.017, allocations: 15.98 kB / 0.9997 GB, free: 12.77 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.41e-05/1.017, allocations: 35.89 kB / 0.9997 GB, free: 12.73 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/1.017, allocations: 19.98 kB / 0.9997 GB, free: 12.71 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004226/1.018, allocations: 346.8 kB / 1 GB, free: 12.38 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/1.018, allocations: 4 kB / 1 GB, free: 12.37 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009742/1.019, allocations: 363.1 kB / 1 GB, free: 12.02 MB / 0.795 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.000513/1.019, allocations: 203.5 kB / 1.001 GB, free: 11.82 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001433/1.021, allocations: 0.6663 MB / 1.001 GB, free: 11.16 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/1.021, allocations: 4 kB / 1.001 GB, free: 11.15 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004061/1.021, allocations: 225.5 kB / 1.001 GB, free: 10.93 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/1.023, allocations: 362.5 kB / 1.002 GB, free: 10.61 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/1.025, allocations: 1.363 MB / 1.003 GB, free: 9.211 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006256/1.026, allocations: 0.9535 MB / 1.004 GB, free: 8.227 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0006281/1.026, allocations: 199.1 kB / 1.004 GB, free: 8.031 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/1.026, allocations: 47.44 kB / 1.004 GB, free: 7.984 MB / 0.795 GB Notification: Performance of SimCode: time 1.383e-06/1.026, allocations: 0 / 1.004 GB, free: 7.984 MB / 0.795 GB Notification: Performance of Templates: time 0.02203/1.049, allocations: 12.42 MB / 1.016 GB, free: 11.86 MB / 0.8106 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)