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.001055/0.001055, allocations: 103.4 kB / 16.37 MB, free: 6.473 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.001047/0.001048, allocations: 189.8 kB / 17.31 MB, free: 5.82 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.397/1.397, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.798/1.798, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001424/0.001424, allocations: 64.12 kB / 0.6729 GB, free: 5.777 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2229, allocations: 114.6 MB / 0.7848 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.6016/0.8245, allocations: 185 MB / 0.9655 GB, free: 0.8867 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0104/0.835, allocations: 6.944 MB / 0.9723 GB, free: 9.934 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.8362, allocations: 27.81 kB / 0.9723 GB, free: 9.906 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.8375, allocations: 409.5 kB / 0.9727 GB, free: 9.504 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004171/0.8417, allocations: 1.439 MB / 0.9741 GB, free: 8.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003518/0.8453, allocations: 1.151 MB / 0.9752 GB, free: 6.91 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003093/0.8484, allocations: 1.937 MB / 0.9771 GB, free: 4.969 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.8494, allocations: 0.6531 MB / 0.9777 GB, free: 4.297 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.8511, allocations: 0.825 MB / 0.9785 GB, free: 3.469 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/0.8524, allocations: 0.5963 MB / 0.9791 GB, free: 2.879 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.8526, allocations: 68 kB / 0.9792 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003994/0.8566, allocations: 1.929 MB / 0.9811 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0003562/0.8569, allocations: 291.1 kB / 0.9814 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0005405/0.8575, allocations: 434.1 kB / 0.9818 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003145/0.8607, allocations: 1.773 MB / 0.9835 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.8607, allocations: 0 / 0.9835 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.814e-06/0.8607, allocations: 0 / 0.9835 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.8607, allocations: 0 / 0.9835 GB, free: 14.39 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.001824/0.8625, allocations: 1.148 MB / 0.9846 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.8626, allocations: 16.03 kB / 0.9846 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001834/0.8644, allocations: 266.7 kB / 0.9849 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000982/0.8654, allocations: 0.6065 MB / 0.9855 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.591e-05/0.8655, allocations: 45.31 kB / 0.9855 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.562e-05/0.8656, allocations: 56 kB / 0.9856 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.8666, allocations: 0.6323 MB / 0.9862 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.8667, allocations: 3.938 kB / 0.9862 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.843e-05/0.8667, allocations: 24.5 kB / 0.9862 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.085e-05/0.8668, allocations: 21.31 kB / 0.9862 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009251/0.8677, allocations: 0.5126 MB / 0.9867 GB, free: 10.96 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.002931/0.8706, allocations: 2.447 MB / 0.9891 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006147/0.8713, allocations: 379.7 kB / 0.9895 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003756/0.8716, allocations: 235.4 kB / 0.9897 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005634/0.8722, allocations: 311.5 kB / 0.99 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.8723, allocations: 45.45 kB / 0.9901 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=39): time 1.893e-06/0.8723, allocations: 0 / 0.9901 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39): time 0.001354/0.8736, allocations: 0.606 MB / 0.9907 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.8737, allocations: 55.41 kB / 0.9907 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005445/0.8742, allocations: 0.4988 MB / 0.9912 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.8743, allocations: 37.7 kB / 0.9912 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.8745, allocations: 328.3 kB / 0.9915 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.8747, allocations: 134.1 kB / 0.9917 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.8748, allocations: 90.03 kB / 0.9918 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.875, allocations: 362.8 kB / 0.9921 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003244/0.8753, allocations: 182.4 kB / 0.9923 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000426/0.8757, allocations: 284.3 kB / 0.9926 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000692/0.8764, allocations: 453.7 kB / 0.993 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.8764, allocations: 0 / 0.993 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009021/0.8774, allocations: 0.5239 MB / 0.9935 GB, free: 3.625 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.8774, allocations: 8.281 kB / 0.9935 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.8774, allocations: 8 kB / 0.9935 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.8774, allocations: 4 kB / 0.9935 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007281/0.8782, allocations: 124.5 kB / 0.9936 GB, free: 3.484 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003776/0.8785, allocations: 0.6015 MB / 0.9942 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005303/0.8791, allocations: 52.53 kB / 0.9943 GB, free: 2.809 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-05/0.8791, allocations: 20 kB / 0.9943 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005544/0.8797, allocations: 350.9 kB / 0.9946 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003929/0.8801, allocations: 287.4 kB / 0.9949 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006747/0.8808, allocations: 449.3 kB / 0.9953 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.546e-06/0.8808, allocations: 0 / 0.9953 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008744/0.8817, allocations: 0.5355 MB / 0.9958 GB, free: 1.117 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.8817, allocations: 11.94 kB / 0.9959 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.8817, allocations: 0 / 0.9959 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.923e-06/0.8817, allocations: 4 kB / 0.9959 GB, free: 1.102 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004948/0.8822, allocations: 112.1 kB / 0.996 GB, free: 0.9922 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.8823, allocations: 11.94 kB / 0.996 GB, free: 0.9805 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005036/0.8828, allocations: 49.03 kB / 0.996 GB, free: 0.9336 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.428e-05/0.8828, allocations: 16 kB / 0.996 GB, free: 0.918 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.000174/0.883, allocations: 204.2 kB / 0.9962 GB, free: 0.7109 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.8831, allocations: 63.28 kB / 0.9963 GB, free: 0.6484 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009195/0.884, allocations: 482.6 kB / 0.9968 GB, free: 176 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.884, allocations: 4 kB / 0.9968 GB, free: 172 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.884, allocations: 0 / 0.9968 GB, free: 172 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008098/0.8849, allocations: 0.701 MB / 0.9974 GB, free: 15.38 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/0.8868, allocations: 1.294 MB / 0.9987 GB, free: 14.01 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.8868, allocations: 0 / 0.9987 GB, free: 14.01 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006446/0.8875, allocations: 130.4 kB / 0.9988 GB, free: 13.89 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.8875, allocations: 4 kB / 0.9988 GB, free: 13.88 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.401e-05/0.8875, allocations: 9.25 kB / 0.9988 GB, free: 13.88 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003015/0.8878, allocations: 0.6015 MB / 0.9994 GB, free: 13.25 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.8879, allocations: 0 / 0.9994 GB, free: 13.25 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.889, allocations: 0.8213 MB / 1 GB, free: 12.39 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002422/0.8893, allocations: 180.3 kB / 1 GB, free: 12.2 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-05/0.8894, allocations: 12 kB / 1 GB, free: 12.18 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004062/0.8898, allocations: 19.98 kB / 1 GB, free: 12.16 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.168e-05/0.8899, allocations: 27.95 kB / 1 GB, free: 12.14 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/0.8899, allocations: 19.98 kB / 1 GB, free: 12.12 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003964/0.8903, allocations: 346.8 kB / 1.001 GB, free: 11.78 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8903, allocations: 4.562 kB / 1.001 GB, free: 11.78 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009584/0.8913, allocations: 359.1 kB / 1.001 GB, free: 11.43 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.0005469/0.8918, allocations: 208.9 kB / 1.001 GB, free: 11.23 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001507/0.8934, allocations: 0.6678 MB / 1.002 GB, free: 10.56 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.8934, allocations: 0 / 1.002 GB, free: 10.56 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004186/0.8938, allocations: 221.5 kB / 1.002 GB, free: 10.35 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/0.8955, allocations: 359.6 kB / 1.003 GB, free: 10.03 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.8978, allocations: 1.423 MB / 1.004 GB, free: 8.562 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/0.8983, allocations: 0.9573 MB / 1.005 GB, free: 7.574 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.8985, allocations: 51.42 kB / 1.005 GB, free: 7.523 MB / 0.795 GB Notification: Performance of SimCode: time 6.41e-07/0.8985, allocations: 0 / 1.005 GB, free: 7.523 MB / 0.795 GB Notification: Performance of Templates: time 0.01849/0.917, allocations: 12.95 MB / 1.018 GB, free: 10.79 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)