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.001202/0.001202, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001403/0.001403, allocations: 188.3 kB / 16.25 MB, free: 6.629 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.485/1.485, allocations: 205.1 MB / 222.1 MB, free: 4.734 MB / 174.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.769/1.769, allocations: 292.2 MB / 0.5485 GB, free: 13.63 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.001375/0.001375, allocations: 68.27 kB / 0.671 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.331, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.9042/1.235, allocations: 182.6 MB / 0.9612 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01247/1.248, allocations: 6.892 MB / 0.9679 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001775/1.25, allocations: 26.09 kB / 0.9679 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001362/1.251, allocations: 356.5 kB / 0.9683 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004872/1.256, allocations: 1.352 MB / 0.9696 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003897/1.26, allocations: 1.064 MB / 0.9706 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00348/1.263, allocations: 1.932 MB / 0.9725 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/1.264, allocations: 0.6406 MB / 0.9732 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002245/1.267, allocations: 0.8197 MB / 0.974 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001644/1.268, allocations: 0.6346 MB / 0.9746 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001412/1.269, allocations: 71.56 kB / 0.9746 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005518/1.274, allocations: 1.997 MB / 0.9766 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006259/1.275, allocations: 294.3 kB / 0.9769 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001017/1.276, allocations: 421.5 kB / 0.9773 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005973/1.282, allocations: 1.871 MB / 0.9791 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.317e-05/1.282, allocations: 1.156 kB / 0.9791 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.859e-06/1.282, allocations: 3.938 kB / 0.9791 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.18e-05/1.282, allocations: 0 / 0.9791 GB, free: 4.961 MB / 0.7325 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.003633/1.285, allocations: 1.159 MB / 0.9802 GB, free: 20.27 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 7.576e-05/1.286, allocations: 8.25 kB / 0.9803 GB, free: 20.27 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002194/1.288, allocations: 267.8 kB / 0.9805 GB, free: 20.23 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/1.289, allocations: 0.5711 MB / 0.9811 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.939e-05/1.289, allocations: 41.75 kB / 0.9811 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/1.289, allocations: 58.84 kB / 0.9812 GB, free: 19.94 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/1.291, allocations: 0.6404 MB / 0.9818 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/1.291, allocations: 5.312 kB / 0.9818 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.718e-05/1.291, allocations: 21.91 kB / 0.9818 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.316e-05/1.291, allocations: 19.53 kB / 0.9818 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/1.292, allocations: 0.5223 MB / 0.9823 GB, free: 19.84 MB / 0.7481 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.003666/1.296, allocations: 2.447 MB / 0.9847 GB, free: 18.51 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007225/1.296, allocations: 378.8 kB / 0.9851 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003715/1.297, allocations: 236 kB / 0.9853 GB, free: 18.47 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006078/1.297, allocations: 308.2 kB / 0.9856 GB, free: 18.19 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/1.297, allocations: 36.81 kB / 0.9856 GB, free: 18.15 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=39): time 2.214e-06/1.297, allocations: 0 / 0.9856 GB, free: 18.15 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39): time 0.001427/1.299, allocations: 0.6083 MB / 0.9862 GB, free: 18.08 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/1.299, allocations: 61.84 kB / 0.9863 GB, free: 18.01 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005756/1.299, allocations: 0.4931 MB / 0.9868 GB, free: 17.89 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.223e-05/1.3, allocations: 32.27 kB / 0.9868 GB, free: 17.86 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/1.3, allocations: 323.9 kB / 0.9871 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/1.3, allocations: 144.2 kB / 0.9873 GB, free: 17.61 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/1.3, allocations: 85.61 kB / 0.9873 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001624/1.3, allocations: 368.4 kB / 0.9877 GB, free: 17.28 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000303/1.301, allocations: 179.4 kB / 0.9879 GB, free: 17.27 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003872/1.301, allocations: 287 kB / 0.9881 GB, free: 17.15 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008061/1.302, allocations: 451 kB / 0.9886 GB, free: 17.06 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.302, allocations: 0 / 0.9886 GB, free: 17.06 MB / 0.7481 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001003/1.303, allocations: 0.5245 MB / 0.9891 GB, free: 16.99 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/1.303, allocations: 5 kB / 0.9891 GB, free: 16.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.303, allocations: 2.781 kB / 0.9891 GB, free: 16.99 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/1.303, allocations: 5.062 kB / 0.9891 GB, free: 16.99 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000738/1.304, allocations: 128.9 kB / 0.9892 GB, free: 16.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00042/1.304, allocations: 0.6 MB / 0.9898 GB, free: 16.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007325/1.305, allocations: 76.95 kB / 0.9899 GB, free: 16.37 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.137e-05/1.305, allocations: 25.88 kB / 0.9899 GB, free: 16.37 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006108/1.305, allocations: 351.8 kB / 0.9902 GB, free: 16.26 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003799/1.306, allocations: 288.5 kB / 0.9905 GB, free: 16.07 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006561/1.307, allocations: 449.9 kB / 0.9909 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/1.307, allocations: 0 / 0.9909 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.000823/1.307, allocations: 0.5306 MB / 0.9915 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/1.307, allocations: 5.812 kB / 0.9915 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/1.307, allocations: 8.438 kB / 0.9915 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.855e-06/1.307, allocations: 9.328 kB / 0.9915 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004723/1.308, allocations: 116 kB / 0.9916 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/1.308, allocations: 12.31 kB / 0.9916 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006105/1.309, allocations: 64.52 kB / 0.9917 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/1.309, allocations: 21.25 kB / 0.9917 GB, free: 15.58 MB / 0.7481 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.0002062/1.309, allocations: 206 kB / 0.9919 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/1.309, allocations: 59.97 kB / 0.9919 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008327/1.31, allocations: 477 kB / 0.9924 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/1.31, allocations: 5.062 kB / 0.9924 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.31, allocations: 4 kB / 0.9924 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007557/1.311, allocations: 0.7013 MB / 0.9931 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/1.312, allocations: 1.281 MB / 0.9943 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/1.312, allocations: 2.188 kB / 0.9943 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005919/1.313, allocations: 129.9 kB / 0.9945 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/1.313, allocations: 4.781 kB / 0.9945 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.243e-05/1.313, allocations: 9.531 kB / 0.9945 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003093/1.313, allocations: 0.5983 MB / 0.9951 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.313, allocations: 2.688 kB / 0.9951 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/1.315, allocations: 0.8227 MB / 0.9959 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002434/1.315, allocations: 175 kB / 0.996 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.287e-05/1.315, allocations: 19.97 kB / 0.9961 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004645/1.315, allocations: 41.47 kB / 0.9961 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.025e-05/1.315, allocations: 35.12 kB / 0.9961 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.183e-05/1.315, allocations: 16.89 kB / 0.9961 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004341/1.316, allocations: 347.2 kB / 0.9965 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/1.316, allocations: 3.938 kB / 0.9965 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00116/1.317, allocations: 367.6 kB / 0.9968 GB, free: 12.44 MB / 0.7481 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.000621/1.318, allocations: 212 kB / 0.997 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001482/1.319, allocations: 0.7017 MB / 0.9977 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.319, allocations: 4.125 kB / 0.9977 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004024/1.32, allocations: 226.6 kB / 0.9979 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/1.321, allocations: 365 kB / 0.9983 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/1.324, allocations: 1.624 MB / 0.9999 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005595/1.324, allocations: 0.9505 MB / 1.001 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007092/1.325, allocations: 196.5 kB / 1.001 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/1.325, allocations: 56.97 kB / 1.001 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of SimCode: time 8.71e-07/1.325, allocations: 0 / 1.001 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of Templates: time 0.02283/1.348, allocations: 12.31 MB / 1.013 GB, free: 5.844 MB / 0.7481 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)