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.001101/0.001101, allocations: 107.2 kB / 16.35 MB, free: 5.879 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.001084/0.001085, allocations: 195.3 kB / 17.29 MB, free: 5.516 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.419/1.419, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.806/1.806, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001461/0.001461, allocations: 67.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2223, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.5931/0.8155, allocations: 185 MB / 0.9655 GB, free: 0.9844 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0103/0.8258, allocations: 6.956 MB / 0.9723 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.8269, allocations: 27.81 kB / 0.9723 GB, free: 9.992 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.8284, allocations: 401.5 kB / 0.9727 GB, free: 9.598 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004564/0.833, allocations: 1.447 MB / 0.9741 GB, free: 8.145 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003943/0.8369, allocations: 1.155 MB / 0.9752 GB, free: 6.992 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002956/0.8399, allocations: 1.929 MB / 0.9771 GB, free: 5.059 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/0.8412, allocations: 0.6609 MB / 0.9777 GB, free: 4.379 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001818/0.843, allocations: 0.8172 MB / 0.9785 GB, free: 3.559 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/0.8447, allocations: 0.5955 MB / 0.9791 GB, free: 2.965 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002189/0.8449, allocations: 72 kB / 0.9792 GB, free: 2.895 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004434/0.8494, allocations: 1.929 MB / 0.9811 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0004517/0.8498, allocations: 291.2 kB / 0.9813 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0008399/0.8507, allocations: 430.1 kB / 0.9818 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.00401/0.8547, allocations: 1.761 MB / 0.9835 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.8547, allocations: 0 / 0.9835 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.075e-06/0.8547, allocations: 4 kB / 0.9835 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.252e-05/0.8548, allocations: 3.938 kB / 0.9835 GB, free: 14.48 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.003233/0.858, allocations: 1.152 MB / 0.9846 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.8581, allocations: 11.59 kB / 0.9846 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002323/0.8604, allocations: 278.7 kB / 0.9849 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.8617, allocations: 0.5714 MB / 0.9854 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.899e-05/0.8618, allocations: 41.31 kB / 0.9855 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.8619, allocations: 56 kB / 0.9855 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.8633, allocations: 0.6401 MB / 0.9862 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.8633, allocations: 3.938 kB / 0.9862 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.866e-05/0.8634, allocations: 20 kB / 0.9862 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.9e-05/0.8634, allocations: 25.25 kB / 0.9862 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.8645, allocations: 0.5126 MB / 0.9867 GB, free: 11.07 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.003507/0.868, allocations: 2.446 MB / 0.9891 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007605/0.8688, allocations: 376.3 kB / 0.9895 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/0.8692, allocations: 240.1 kB / 0.9897 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006456/0.8698, allocations: 315.9 kB / 0.99 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.8699, allocations: 38.56 kB / 0.99 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=39): time 2.485e-06/0.8699, allocations: 0 / 0.99 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39): time 0.001527/0.8714, allocations: 0.6099 MB / 0.9906 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.8715, allocations: 59.41 kB / 0.9907 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000642/0.8721, allocations: 0.491 MB / 0.9912 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.787e-05/0.8722, allocations: 37.7 kB / 0.9912 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/0.8725, allocations: 324.4 kB / 0.9915 GB, free: 5.836 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.8726, allocations: 130.1 kB / 0.9916 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.8728, allocations: 94.03 kB / 0.9917 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.8729, allocations: 366.8 kB / 0.9921 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/0.8732, allocations: 174.5 kB / 0.9922 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/0.8737, allocations: 292.3 kB / 0.9925 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007349/0.8744, allocations: 452 kB / 0.9929 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.8744, allocations: 0 / 0.9929 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000974/0.8754, allocations: 0.5241 MB / 0.9935 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.8754, allocations: 8 kB / 0.9935 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.8755, allocations: 0 / 0.9935 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.8755, allocations: 8 kB / 0.9935 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007878/0.8763, allocations: 123.8 kB / 0.9936 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003961/0.8767, allocations: 0.6075 MB / 0.9942 GB, free: 2.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005541/0.8773, allocations: 47.61 kB / 0.9942 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.308e-05/0.8773, allocations: 20 kB / 0.9942 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000593/0.8779, allocations: 356.8 kB / 0.9946 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004066/0.8783, allocations: 285.9 kB / 0.9949 GB, free: 2.242 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007349/0.8791, allocations: 453.2 kB / 0.9953 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.056e-06/0.8791, allocations: 6.891 kB / 0.9953 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009189/0.88, allocations: 0.5199 MB / 0.9958 GB, free: 1.238 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.88, allocations: 11.94 kB / 0.9958 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.8801, allocations: 3.984 kB / 0.9958 GB, free: 1.223 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.242e-06/0.8801, allocations: 4.281 kB / 0.9958 GB, free: 1.219 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004917/0.8806, allocations: 119.9 kB / 0.9959 GB, free: 1.102 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.8806, allocations: 7.938 kB / 0.9959 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005389/0.8811, allocations: 44.8 kB / 0.996 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.8812, allocations: 16 kB / 0.996 GB, free: 1.035 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.0001868/0.8814, allocations: 200.2 kB / 0.9962 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.8815, allocations: 67.27 kB / 0.9963 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009178/0.8824, allocations: 483.7 kB / 0.9967 GB, free: 296 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.8824, allocations: 7.984 kB / 0.9967 GB, free: 288 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.8824, allocations: 0 / 0.9967 GB, free: 288 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008307/0.8833, allocations: 0.7004 MB / 0.9974 GB, free: 15.5 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/0.8854, allocations: 1.288 MB / 0.9987 GB, free: 14.13 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.8854, allocations: 224 / 0.9987 GB, free: 14.13 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006311/0.8861, allocations: 128.4 kB / 0.9988 GB, free: 14.01 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.8861, allocations: 7.984 kB / 0.9988 GB, free: 14 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.8861, allocations: 8 kB / 0.9988 GB, free: 13.99 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003276/0.8864, allocations: 0.5937 MB / 0.9994 GB, free: 13.38 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.8865, allocations: 8.781 kB / 0.9994 GB, free: 13.37 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.8876, allocations: 0.8173 MB / 1 GB, free: 12.51 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003451/0.888, allocations: 180.3 kB / 1 GB, free: 12.32 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.25e-05/0.8881, allocations: 10.62 kB / 1 GB, free: 12.31 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004159/0.8885, allocations: 27.97 kB / 1 GB, free: 12.28 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.185e-05/0.8886, allocations: 31.95 kB / 1 GB, free: 12.25 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.8886, allocations: 12 kB / 1 GB, free: 12.24 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004054/0.889, allocations: 355.4 kB / 1.001 GB, free: 11.89 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.524e-06/0.889, allocations: 0 / 1.001 GB, free: 11.89 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001044/0.8901, allocations: 359.1 kB / 1.001 GB, free: 11.54 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.000488/0.8906, allocations: 202.3 kB / 1.001 GB, free: 11.35 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001459/0.892, allocations: 0.6718 MB / 1.002 GB, free: 10.68 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.8921, allocations: 0 / 1.002 GB, free: 10.68 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004376/0.8925, allocations: 228.1 kB / 1.002 GB, free: 10.46 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.8941, allocations: 356.5 kB / 1.003 GB, free: 10.14 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.8962, allocations: 1.365 MB / 1.004 GB, free: 8.738 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005375/0.8968, allocations: 0.9457 MB / 1.005 GB, free: 7.762 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0006003/0.8974, allocations: 204.8 kB / 1.005 GB, free: 7.562 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.8975, allocations: 55.44 kB / 1.005 GB, free: 7.508 MB / 0.795 GB Notification: Performance of SimCode: time 1.122e-06/0.8975, allocations: 0 / 1.005 GB, free: 7.508 MB / 0.795 GB Notification: Performance of Templates: time 0.02125/0.9188, allocations: 12.42 MB / 1.017 GB, free: 11.39 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)