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.00114/0.00114, allocations: 103.4 kB / 16.27 MB, free: 5.992 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.001087/0.001087, allocations: 196 kB / 17.2 MB, free: 5.617 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.402/1.402, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.778/1.778, allocations: 292.3 MB / 0.5495 GB, free: 17.56 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.001679/0.001679, allocations: 64.38 kB / 0.6721 GB, free: 6.582 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2499, allocations: 114.6 MB / 0.784 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.5829/0.8329, allocations: 185 MB / 0.9647 GB, free: 1.473 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01499/0.848, allocations: 6.939 MB / 0.9715 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001551/0.8496, allocations: 27.81 kB / 0.9715 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.8515, allocations: 393.5 kB / 0.9719 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.005593/0.8571, allocations: 1.439 MB / 0.9733 GB, free: 8.664 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004662/0.8618, allocations: 1.161 MB / 0.9744 GB, free: 7.508 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003779/0.8656, allocations: 1.922 MB / 0.9763 GB, free: 5.582 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001642/0.8673, allocations: 0.6588 MB / 0.977 GB, free: 4.91 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002608/0.8699, allocations: 0.8172 MB / 0.9778 GB, free: 4.09 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002219/0.8722, allocations: 0.5944 MB / 0.9783 GB, free: 3.496 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0003191/0.8725, allocations: 72 kB / 0.9784 GB, free: 3.426 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00588/0.8784, allocations: 1.933 MB / 0.9803 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0007549/0.8792, allocations: 283.3 kB / 0.9806 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001407/0.8806, allocations: 426.1 kB / 0.981 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.005392/0.886, allocations: 1.757 MB / 0.9827 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.8861, allocations: 0 / 0.9827 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.335e-06/0.8861, allocations: 0 / 0.9827 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.661e-05/0.8861, allocations: 0 / 0.9827 GB, free: 15.03 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.003361/0.8895, allocations: 1.155 MB / 0.9838 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.577e-05/0.8896, allocations: 16.02 kB / 0.9838 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002904/0.8925, allocations: 270.7 kB / 0.9841 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.8941, allocations: 0.5753 MB / 0.9847 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.588e-05/0.8942, allocations: 37.31 kB / 0.9847 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/0.8943, allocations: 63.98 kB / 0.9848 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.896, allocations: 0.6323 MB / 0.9854 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/0.8961, allocations: 7.219 kB / 0.9854 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.012e-05/0.8962, allocations: 24 kB / 0.9854 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.741e-05/0.8962, allocations: 17.31 kB / 0.9854 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.8976, allocations: 0.5164 MB / 0.9859 GB, free: 11.62 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.004575/0.9022, allocations: 2.468 MB / 0.9883 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008778/0.9031, allocations: 376.3 kB / 0.9887 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005222/0.9036, allocations: 243.4 kB / 0.9889 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007579/0.9044, allocations: 303.9 kB / 0.9892 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.9045, allocations: 39.81 kB / 0.9893 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=39): time 3.356e-06/0.9045, allocations: 4 kB / 0.9893 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39): time 0.001935/0.9064, allocations: 0.606 MB / 0.9898 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.9065, allocations: 63.39 kB / 0.9899 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009086/0.9074, allocations: 0.4949 MB / 0.9904 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.695e-05/0.9075, allocations: 37.7 kB / 0.9904 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003936/0.9079, allocations: 332.4 kB / 0.9907 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.9081, allocations: 126.1 kB / 0.9909 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/0.9083, allocations: 94.03 kB / 0.991 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002169/0.9086, allocations: 362.8 kB / 0.9913 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004641/0.9091, allocations: 170.5 kB / 0.9915 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006179/0.9097, allocations: 292.2 kB / 0.9917 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.9107, allocations: 457.6 kB / 0.9922 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.9107, allocations: 0 / 0.9922 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001406/0.9121, allocations: 0.5162 MB / 0.9927 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.9122, allocations: 10.03 kB / 0.9927 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.9122, allocations: 0 / 0.9927 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.9122, allocations: 8.281 kB / 0.9927 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.9132, allocations: 135.8 kB / 0.9928 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005422/0.9138, allocations: 0.5937 MB / 0.9934 GB, free: 3.504 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000802/0.9146, allocations: 56.95 kB / 0.9935 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.495e-05/0.9147, allocations: 18.58 kB / 0.9935 GB, free: 3.434 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007806/0.9155, allocations: 353.4 kB / 0.9938 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000645/0.9162, allocations: 292.3 kB / 0.9941 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008459/0.917, allocations: 445.3 kB / 0.9945 GB, free: 2.297 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.809e-06/0.917, allocations: 4 kB / 0.9945 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.00103/0.9181, allocations: 0.5277 MB / 0.995 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.9181, allocations: 4 kB / 0.995 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.9181, allocations: 12.09 kB / 0.9951 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.9181, allocations: 4 kB / 0.9951 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00052/0.9187, allocations: 115.9 kB / 0.9952 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.9187, allocations: 4.25 kB / 0.9952 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005986/0.9193, allocations: 47.66 kB / 0.9952 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.9193, allocations: 20 kB / 0.9952 GB, free: 1.559 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.0002/0.9195, allocations: 204.1 kB / 0.9954 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.9197, allocations: 59.28 kB / 0.9955 GB, free: 1.293 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.9207, allocations: 485 kB / 0.996 GB, free: 0.8125 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.9208, allocations: 7.938 kB / 0.996 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.9208, allocations: 3.938 kB / 0.996 GB, free: 0.8008 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008435/0.9216, allocations: 0.7043 MB / 0.9967 GB, free: 12 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002272/0.9239, allocations: 1.279 MB / 0.9979 GB, free: 14.66 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.9239, allocations: 4 kB / 0.9979 GB, free: 14.65 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006696/0.9246, allocations: 132 kB / 0.998 GB, free: 14.52 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/0.9246, allocations: 4 kB / 0.998 GB, free: 14.52 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/0.9247, allocations: 8 kB / 0.998 GB, free: 14.51 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004048/0.9251, allocations: 0.5954 MB / 0.9986 GB, free: 13.89 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.9251, allocations: 4 kB / 0.9986 GB, free: 13.89 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.9264, allocations: 0.8174 MB / 0.9994 GB, free: 13.04 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/0.9268, allocations: 180.4 kB / 0.9996 GB, free: 12.84 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.9269, allocations: 11.94 kB / 0.9996 GB, free: 12.83 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004533/0.9273, allocations: 19.98 kB / 0.9996 GB, free: 12.81 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.582e-05/0.9274, allocations: 35.89 kB / 0.9997 GB, free: 12.77 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/0.9275, allocations: 13.8 kB / 0.9997 GB, free: 12.76 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004843/0.928, allocations: 350.8 kB / 1 GB, free: 12.42 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/0.928, allocations: 4 kB / 1 GB, free: 12.42 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001239/0.9292, allocations: 363.1 kB / 1 GB, free: 12.06 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.0006437/0.9299, allocations: 202.1 kB / 1.001 GB, free: 11.87 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001775/0.9317, allocations: 0.7169 MB / 1.001 GB, free: 11.15 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.9317, allocations: 0 / 1.001 GB, free: 11.15 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004617/0.9322, allocations: 227.2 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.001764/0.9339, allocations: 370.4 kB / 1.002 GB, free: 10.62 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002743/0.9367, allocations: 1.424 MB / 1.003 GB, free: 9.145 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006959/0.9374, allocations: 0.9418 MB / 1.004 GB, free: 8.172 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.9376, allocations: 59.44 kB / 1.004 GB, free: 8.113 MB / 0.795 GB Notification: Performance of SimCode: time 6.31e-07/0.9376, allocations: 0 / 1.004 GB, free: 8.113 MB / 0.795 GB Notification: Performance of Templates: time 0.02073/0.9583, allocations: 12.95 MB / 1.017 GB, free: 11.36 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)