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.001181/0.001181, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0012/0.0012, allocations: 193.5 kB / 16.13 MB, free: 6.664 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.582/1.582, allocations: 205.1 MB / 222 MB, free: 4.75 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.674/1.674, allocations: 292.3 MB / 0.5484 GB, free: 13.7 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.001754/0.001754, allocations: 67.25 kB / 0.6708 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3087, allocations: 114.5 MB / 0.7827 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.8585/1.167, allocations: 182.8 MB / 0.9612 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01075/1.178, allocations: 7.012 MB / 0.968 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001798/1.18, allocations: 30.34 kB / 0.9681 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001324/1.181, allocations: 333.5 kB / 0.9684 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004221/1.186, allocations: 1.368 MB / 0.9697 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003688/1.189, allocations: 1.046 MB / 0.9707 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005013/1.194, allocations: 2.701 MB / 0.9734 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/1.195, allocations: 0.5525 MB / 0.9739 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002359/1.198, allocations: 0.73 MB / 0.9746 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001782/1.2, allocations: 0.6256 MB / 0.9752 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001373/1.2, allocations: 37.16 kB / 0.9753 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006224/1.206, allocations: 2.191 MB / 0.9774 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005367/1.207, allocations: 263.2 kB / 0.9777 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009567/1.208, allocations: 393.8 kB / 0.978 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004513/1.212, allocations: 1.84 MB / 0.9798 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/1.212, allocations: 0 / 0.9798 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.833e-06/1.212, allocations: 0 / 0.9798 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.917e-05/1.212, allocations: 0 / 0.9798 GB, free: 5.145 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.00319/1.215, allocations: 1.154 MB / 0.981 GB, free: 20.46 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/1.215, allocations: 13.84 kB / 0.981 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002086/1.217, allocations: 268.1 kB / 0.9812 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/1.219, allocations: 0.5737 MB / 0.9818 GB, free: 20.13 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.942e-05/1.219, allocations: 46.44 kB / 0.9818 GB, free: 20.12 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/1.219, allocations: 58.34 kB / 0.9819 GB, free: 20.12 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/1.22, allocations: 0.6369 MB / 0.9825 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/1.22, allocations: 5.406 kB / 0.9825 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.994e-05/1.22, allocations: 20.72 kB / 0.9825 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.418e-05/1.22, allocations: 19.53 kB / 0.9826 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/1.221, allocations: 0.5176 MB / 0.9831 GB, free: 20.03 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.003451/1.225, allocations: 2.443 MB / 0.9855 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006361/1.225, allocations: 383 kB / 0.9858 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003908/1.226, allocations: 237.1 kB / 0.986 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006482/1.226, allocations: 308.2 kB / 0.9863 GB, free: 18.37 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/1.227, allocations: 36.84 kB / 0.9864 GB, free: 18.33 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=39): time 2.064e-06/1.227, allocations: 0 / 0.9864 GB, free: 18.33 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39): time 0.001566/1.228, allocations: 0.6159 MB / 0.987 GB, free: 18.26 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/1.228, allocations: 57.47 kB / 0.987 GB, free: 18.2 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006886/1.229, allocations: 0.4921 MB / 0.9875 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.703e-05/1.229, allocations: 37.98 kB / 0.9875 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003548/1.229, allocations: 319.8 kB / 0.9879 GB, free: 17.88 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/1.229, allocations: 147.6 kB / 0.988 GB, free: 17.79 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/1.23, allocations: 88.03 kB / 0.9881 GB, free: 17.77 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000242/1.23, allocations: 370.1 kB / 0.9884 GB, free: 17.45 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004698/1.23, allocations: 175.3 kB / 0.9886 GB, free: 17.45 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004402/1.231, allocations: 288.6 kB / 0.9889 GB, free: 17.33 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007616/1.232, allocations: 448.5 kB / 0.9893 GB, free: 17.17 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.232, allocations: 1.531 kB / 0.9893 GB, free: 17.17 MB / 0.7481 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009647/1.233, allocations: 0.5246 MB / 0.9898 GB, free: 16.96 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.918e-05/1.233, allocations: 6.375 kB / 0.9898 GB, free: 16.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.761e-05/1.233, allocations: 1.625 kB / 0.9898 GB, free: 16.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.185e-05/1.233, allocations: 4.812 kB / 0.9898 GB, free: 16.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008826/1.234, allocations: 134.9 kB / 0.99 GB, free: 16.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005691/1.234, allocations: 0.5926 MB / 0.9905 GB, free: 16.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008902/1.235, allocations: 78.77 kB / 0.9906 GB, free: 16.33 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.788e-05/1.235, allocations: 20.39 kB / 0.9906 GB, free: 16.32 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000704/1.236, allocations: 350.9 kB / 0.991 GB, free: 16.14 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004979/1.236, allocations: 285 kB / 0.9912 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007552/1.237, allocations: 454.1 kB / 0.9917 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.735e-06/1.237, allocations: 0 / 0.9917 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001035/1.238, allocations: 0.522 MB / 0.9922 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/1.238, allocations: 4.75 kB / 0.9922 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/1.238, allocations: 13 kB / 0.9922 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/1.238, allocations: 6.344 kB / 0.9922 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004962/1.239, allocations: 115.2 kB / 0.9923 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/1.239, allocations: 5.188 kB / 0.9923 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007032/1.24, allocations: 70 kB / 0.9924 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/1.24, allocations: 17.12 kB / 0.9924 GB, free: 15.48 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.0002284/1.24, allocations: 203.8 kB / 0.9926 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/1.24, allocations: 60.59 kB / 0.9927 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009044/1.241, allocations: 486.2 kB / 0.9931 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/1.241, allocations: 5.062 kB / 0.9931 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.241, allocations: 3.938 kB / 0.9931 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007469/1.242, allocations: 0.6972 MB / 0.9938 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/1.244, allocations: 1.284 MB / 0.9951 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.244, allocations: 2.125 kB / 0.9951 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000604/1.244, allocations: 130.2 kB / 0.9952 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/1.244, allocations: 5.938 kB / 0.9952 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/1.244, allocations: 9.031 kB / 0.9952 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002983/1.245, allocations: 0.5917 MB / 0.9958 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.245, allocations: 5.625 kB / 0.9958 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/1.246, allocations: 0.8239 MB / 0.9966 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002615/1.246, allocations: 180.1 kB / 0.9968 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.909e-05/1.246, allocations: 12.94 kB / 0.9968 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005041/1.247, allocations: 48.25 kB / 0.9968 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/1.247, allocations: 33.28 kB / 0.9968 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/1.247, allocations: 14.19 kB / 0.9969 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004278/1.247, allocations: 352 kB / 0.9972 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.247, allocations: 0 / 0.9972 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001211/1.248, allocations: 369.8 kB / 0.9976 GB, free: 12.33 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.0005634/1.249, allocations: 196.9 kB / 0.9977 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001423/1.25, allocations: 0.662 MB / 0.9984 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/1.25, allocations: 0 / 0.9984 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003808/1.251, allocations: 227.5 kB / 0.9986 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/1.252, allocations: 360.2 kB / 0.9989 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/1.255, allocations: 1.636 MB / 1.001 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005106/1.255, allocations: 0.9441 MB / 1.001 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007415/1.256, allocations: 208.3 kB / 1.002 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/1.256, allocations: 49.61 kB / 1.002 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of SimCode: time 7.11e-07/1.256, allocations: 2.531 kB / 1.002 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of Templates: time 0.02219/1.278, allocations: 11.97 MB / 1.013 GB, free: 4.98 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)