Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.448/1.448, allocations: 252 MB / 267.6 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009981/0.0009982, allocations: 181.1 kB / 327.3 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.82/1.82, allocations: 205.4 MB / 0.5783 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009/0.0009004, allocations: 87.3 kB / 0.6829 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003479, allocations: 17.69 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2489, allocations: 106.3 MB / 0.9008 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.8436/1.093, allocations: 168.5 MB / 1.065 GB, free: 4.32 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01131/1.104, allocations: 6.565 MB / 1.072 GB, free: 4.215 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001498/1.106, allocations: 20.84 kB / 1.072 GB, free: 4.215 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001323/1.107, allocations: 276.4 kB / 1.072 GB, free: 4.211 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004776/1.112, allocations: 1.06 MB / 1.073 GB, free: 4.16 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003739/1.115, allocations: 0.8463 MB / 1.074 GB, free: 4.137 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005122/1.121, allocations: 2.34 MB / 1.076 GB, free: 4.129 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001687/1.122, allocations: 0.5042 MB / 1.077 GB, free: 4.051 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002999/1.125, allocations: 0.7087 MB / 1.077 GB, free: 4.043 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/1.127, allocations: 0.5735 MB / 1.078 GB, free: 4.043 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001345/1.127, allocations: 31.03 kB / 1.078 GB, free: 4.043 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004548/1.132, allocations: 1.138 MB / 1.079 GB, free: 4.02 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005263/1.132, allocations: 253.6 kB / 1.079 GB, free: 4.02 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008561/1.133, allocations: 181.4 kB / 1.08 GB, free: 19.99 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002478/1.136, allocations: 1.153 MB / 1.081 GB, free: 19.89 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.136, allocations: 0.7812 kB / 1.081 GB, free: 19.89 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.646e-06/1.136, allocations: 0 / 1.081 GB, free: 19.89 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.488e-05/1.136, allocations: 0.8125 kB / 1.081 GB, free: 19.89 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.00224/1.138, allocations: 1.031 MB / 1.082 GB, free: 19.23 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/1.138, allocations: 11.45 kB / 1.082 GB, free: 19.23 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001886/1.14, allocations: 269.5 kB / 1.082 GB, free: 19.18 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/1.141, allocations: 0.5607 MB / 1.082 GB, free: 18.92 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.934e-05/1.141, allocations: 43.16 kB / 1.083 GB, free: 18.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/1.141, allocations: 54.56 kB / 1.083 GB, free: 18.91 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/1.143, allocations: 0.6419 MB / 1.083 GB, free: 18.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/1.143, allocations: 2.906 kB / 1.083 GB, free: 18.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.189e-05/1.143, allocations: 27.58 kB / 1.083 GB, free: 18.83 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-05/1.143, allocations: 22.11 kB / 1.083 GB, free: 18.83 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/1.144, allocations: 0.5314 MB / 1.084 GB, free: 18.82 MB / 0.7136 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.003496/1.147, allocations: 2.451 MB / 1.086 GB, free: 17.49 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006848/1.148, allocations: 381.6 kB / 1.087 GB, free: 17.46 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004078/1.148, allocations: 234.9 kB / 1.087 GB, free: 17.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006453/1.149, allocations: 323.9 kB / 1.087 GB, free: 17.17 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/1.149, allocations: 40.25 kB / 1.087 GB, free: 17.13 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=39): time 2.675e-06/1.149, allocations: 0 / 1.087 GB, free: 17.13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39): time 0.001639/1.151, allocations: 0.6217 MB / 1.088 GB, free: 17.05 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/1.151, allocations: 64.06 kB / 1.088 GB, free: 16.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006423/1.152, allocations: 494.4 kB / 1.088 GB, free: 16.87 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/1.152, allocations: 34.55 kB / 1.088 GB, free: 16.84 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/1.152, allocations: 326 kB / 1.089 GB, free: 16.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/1.152, allocations: 139.2 kB / 1.089 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/1.152, allocations: 8.688 kB / 1.089 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001782/1.152, allocations: 364.8 kB / 1.089 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003486/1.153, allocations: 173.7 kB / 1.089 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004298/1.153, allocations: 281.4 kB / 1.089 GB, free: 16.16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004336/1.153, allocations: 206 kB / 1.09 GB, free: 16.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/1.153, allocations: 8.219 kB / 1.09 GB, free: 16.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009855/1.154, allocations: 0.5266 MB / 1.09 GB, free: 16.08 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000122/1.155, allocations: 156.9 kB / 1.09 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.155, allocations: 2.438 kB / 1.09 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/1.155, allocations: 5.188 kB / 1.09 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000807/1.155, allocations: 145.7 kB / 1.091 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004212/1.156, allocations: 0.5935 MB / 1.091 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007434/1.157, allocations: 77.19 kB / 1.091 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.645e-05/1.157, allocations: 21.39 kB / 1.091 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/1.157, allocations: 4.531 kB / 1.091 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009045/1.158, allocations: 461.9 kB / 1.092 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/1.158, allocations: 2.594 kB / 1.092 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.387e-06/1.158, allocations: 9.031 kB / 1.092 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004914/1.158, allocations: 122.9 kB / 1.092 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/1.158, allocations: 9.328 kB / 1.092 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006046/1.159, allocations: 78.33 kB / 1.092 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/1.159, allocations: 24.34 kB / 1.092 GB, free: 15.25 MB / 0.7136 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004562/1.159, allocations: 308.5 kB / 1.092 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/1.159, allocations: 67.59 kB / 1.092 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008529/1.16, allocations: 486.7 kB / 1.093 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/1.16, allocations: 7.531 kB / 1.093 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/1.16, allocations: 0 / 1.093 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008678/1.161, allocations: 0.7085 MB / 1.093 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/1.163, allocations: 1.289 MB / 1.095 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/1.163, allocations: 0 / 1.095 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006195/1.164, allocations: 135.1 kB / 1.095 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/1.164, allocations: 5.344 kB / 1.095 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/1.164, allocations: 15.75 kB / 1.095 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003257/1.164, allocations: 0.5923 MB / 1.095 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.164, allocations: 3.375 kB / 1.095 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/1.165, allocations: 0.8281 MB / 1.096 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002668/1.166, allocations: 189.9 kB / 1.096 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.561e-05/1.166, allocations: 8.5 kB / 1.096 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005129/1.166, allocations: 52.69 kB / 1.096 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.724e-05/1.166, allocations: 35.19 kB / 1.096 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/1.166, allocations: 15.97 kB / 1.096 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000404/1.167, allocations: 353.4 kB / 1.097 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/1.167, allocations: 0 / 1.097 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001131/1.168, allocations: 365.7 kB / 1.097 GB, free: 13.04 MB / 0.7136 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005203/1.168, allocations: 210.7 kB / 1.097 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001429/1.17, allocations: 0.6725 MB / 1.098 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.17, allocations: 0 / 1.098 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003706/1.17, allocations: 225.4 kB / 1.098 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/1.172, allocations: 359.9 kB / 1.099 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/1.175, allocations: 1.763 MB / 1.1 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005875/1.175, allocations: 0.9431 MB / 1.101 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/1.175, allocations: 51.78 kB / 1.101 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of SimCode: time 1.132e-06/1.175, allocations: 0 / 1.101 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of Templates: time 0.01898/1.194, allocations: 12.9 MB / 1.114 GB, free: 8.555 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)