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.001402/0.001402, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.001333/0.001333, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.46/1.46, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.692/1.692, allocations: 292.3 MB / 0.5492 GB, free: 13.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.001421/0.001421, allocations: 73.59 kB / 0.6716 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2347, allocations: 114.6 MB / 0.7835 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.6827/0.9175, allocations: 182.6 MB / 0.9618 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01138/0.9289, allocations: 6.897 MB / 0.9686 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001361/0.9303, allocations: 23.22 kB / 0.9686 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.9315, allocations: 356 kB / 0.9689 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003921/0.9355, allocations: 1.359 MB / 0.9703 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00315/0.9387, allocations: 1.062 MB / 0.9713 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002722/0.9414, allocations: 1.934 MB / 0.9732 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008963/0.9423, allocations: 0.6366 MB / 0.9738 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001873/0.9442, allocations: 0.822 MB / 0.9746 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/0.9458, allocations: 0.6447 MB / 0.9753 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.946, allocations: 69 kB / 0.9753 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004538/0.9505, allocations: 1.996 MB / 0.9773 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000479/0.951, allocations: 287.9 kB / 0.9775 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007038/0.9517, allocations: 431.9 kB / 0.978 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002511/0.9542, allocations: 1.285 MB / 0.9792 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.9543, allocations: 3.141 kB / 0.9792 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9543, allocations: 1.531 kB / 0.9792 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.464e-05/0.9543, allocations: 0 / 0.9792 GB, free: 4.984 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.002615/0.9569, allocations: 1.16 MB / 0.9803 GB, free: 20.29 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.957, allocations: 9.375 kB / 0.9804 GB, free: 20.29 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/0.959, allocations: 273.8 kB / 0.9806 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.9601, allocations: 0.5697 MB / 0.9812 GB, free: 19.96 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/0.9601, allocations: 40.5 kB / 0.9812 GB, free: 19.96 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.9602, allocations: 58.78 kB / 0.9813 GB, free: 19.96 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.9614, allocations: 0.638 MB / 0.9819 GB, free: 19.88 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.9614, allocations: 3.938 kB / 0.9819 GB, free: 19.88 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.637e-05/0.9615, allocations: 19.03 kB / 0.9819 GB, free: 19.88 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-05/0.9615, allocations: 23.28 kB / 0.9819 GB, free: 19.88 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009385/0.9625, allocations: 0.5159 MB / 0.9824 GB, free: 19.87 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.003426/0.9659, allocations: 2.443 MB / 0.9848 GB, free: 18.53 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006193/0.9666, allocations: 382 kB / 0.9852 GB, free: 18.5 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003855/0.967, allocations: 237.3 kB / 0.9854 GB, free: 18.49 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005954/0.9676, allocations: 310.2 kB / 0.9857 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.9676, allocations: 39.73 kB / 0.9857 GB, free: 18.17 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=39): time 2.865e-06/0.9676, allocations: 0 / 0.9857 GB, free: 18.17 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39): time 0.001389/0.969, allocations: 0.6123 MB / 0.9863 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.9691, allocations: 60.22 kB / 0.9864 GB, free: 18.03 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005468/0.9696, allocations: 0.4883 MB / 0.9869 GB, free: 17.91 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/0.9697, allocations: 35.08 kB / 0.9869 GB, free: 17.88 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.9699, allocations: 327 kB / 0.9872 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.97, allocations: 136.6 kB / 0.9874 GB, free: 17.63 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.9702, allocations: 94.61 kB / 0.9874 GB, free: 17.61 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.9703, allocations: 368.8 kB / 0.9878 GB, free: 17.29 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.9706, allocations: 176.1 kB / 0.988 GB, free: 17.28 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003673/0.971, allocations: 288.3 kB / 0.9882 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006477/0.9717, allocations: 447.3 kB / 0.9887 GB, free: 17.07 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.9717, allocations: 0 / 0.9887 GB, free: 17.07 MB / 0.7481 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009329/0.9726, allocations: 0.5235 MB / 0.9892 GB, free: 17 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.9727, allocations: 8.391 kB / 0.9892 GB, free: 17 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.9727, allocations: 3.562 kB / 0.9892 GB, free: 17 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.9727, allocations: 2.844 kB / 0.9892 GB, free: 17 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007249/0.9734, allocations: 129.7 kB / 0.9893 GB, free: 17 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003981/0.9738, allocations: 0.5993 MB / 0.9899 GB, free: 16.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007097/0.9746, allocations: 76.45 kB / 0.99 GB, free: 16.39 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.764e-05/0.9746, allocations: 18.81 kB / 0.99 GB, free: 16.39 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000584/0.9752, allocations: 351.6 kB / 0.9903 GB, free: 16.3 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003722/0.9756, allocations: 287.4 kB / 0.9906 GB, free: 16.19 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006953/0.9763, allocations: 450 kB / 0.991 GB, free: 16.01 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.655e-06/0.9763, allocations: 1.594 kB / 0.991 GB, free: 16.01 MB / 0.7481 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0007976/0.9771, allocations: 0.5282 MB / 0.9915 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.9771, allocations: 8.094 kB / 0.9916 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.9771, allocations: 12.91 kB / 0.9916 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.961e-06/0.9772, allocations: 7.047 kB / 0.9916 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004687/0.9776, allocations: 119.2 kB / 0.9917 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.9776, allocations: 3.812 kB / 0.9917 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006332/0.9783, allocations: 65.88 kB / 0.9918 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.9783, allocations: 16.56 kB / 0.9918 GB, free: 15.75 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.0001911/0.9785, allocations: 212.3 kB / 0.992 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.9786, allocations: 61.75 kB / 0.992 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008317/0.9795, allocations: 475.4 kB / 0.9925 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.9795, allocations: 7.406 kB / 0.9925 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.9795, allocations: 2 kB / 0.9925 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007483/0.9803, allocations: 0.703 MB / 0.9932 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.9821, allocations: 1.277 MB / 0.9944 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.9822, allocations: 6.062 kB / 0.9944 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006112/0.9828, allocations: 126.8 kB / 0.9946 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.9828, allocations: 5.5 kB / 0.9946 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/0.9828, allocations: 18.55 kB / 0.9946 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000343/0.9832, allocations: 0.5869 MB / 0.9952 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.9832, allocations: 6.375 kB / 0.9952 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.9843, allocations: 0.8253 MB / 0.996 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002371/0.9845, allocations: 175.6 kB / 0.9961 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.038e-05/0.9846, allocations: 21.44 kB / 0.9962 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004639/0.9851, allocations: 37.52 kB / 0.9962 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.353e-05/0.9852, allocations: 37.06 kB / 0.9962 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.9852, allocations: 19.17 kB / 0.9962 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003612/0.9856, allocations: 348 kB / 0.9966 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.41e-07/0.9856, allocations: 0 / 0.9966 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001024/0.9866, allocations: 367.9 kB / 0.9969 GB, free: 12.61 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.0005552/0.9872, allocations: 208.9 kB / 0.9971 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00152/0.9887, allocations: 0.7076 MB / 0.9978 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.9887, allocations: 0 / 0.9978 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003738/0.9891, allocations: 220.2 kB / 0.998 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.9907, allocations: 366.8 kB / 0.9984 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/0.9931, allocations: 1.687 MB / 1 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006131/0.9937, allocations: 0.9406 MB / 1.001 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.9939, allocations: 53.22 kB / 1.001 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of SimCode: time 2.5e-07/0.9939, allocations: 0 / 1.001 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of Templates: time 0.01862/1.013, allocations: 12.96 MB / 1.014 GB, free: 5.359 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)