Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.504/2.504, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001371/0.00137, allocations: 182 kB / 325.8 MB, free: 2.809 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.43/2.43, allocations: 205.4 MB / 0.5767 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009677/0.0009674, allocations: 84.12 kB / 0.6812 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008317/0.0008324, allocations: 11.56 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2606, allocations: 106.3 MB / 0.899 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.9277/1.188, allocations: 168.5 MB / 1.064 GB, free: 4.383 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0131/1.202, allocations: 6.562 MB / 1.07 GB, free: 4.285 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/1.203, allocations: 23.34 kB / 1.07 GB, free: 4.285 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001383/1.204, allocations: 273.2 kB / 1.07 GB, free: 4.281 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004474/1.209, allocations: 1.065 MB / 1.071 GB, free: 4.23 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004033/1.213, allocations: 0.8494 MB / 1.072 GB, free: 4.199 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004929/1.218, allocations: 2.35 MB / 1.074 GB, free: 4.199 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001452/1.219, allocations: 0.5235 MB / 1.075 GB, free: 4.121 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002699/1.222, allocations: 0.7086 MB / 1.076 GB, free: 4.113 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00193/1.224, allocations: 0.5715 MB / 1.076 GB, free: 4.113 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002103/1.224, allocations: 29.88 kB / 1.076 GB, free: 4.113 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004927/1.229, allocations: 1.14 MB / 1.077 GB, free: 4.09 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007882/1.23, allocations: 255.5 kB / 1.078 GB, free: 4.09 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008413/1.231, allocations: 180.1 kB / 1.078 GB, free: 20.06 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003313/1.234, allocations: 1.158 MB / 1.079 GB, free: 19.96 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/1.234, allocations: 0.6562 kB / 1.079 GB, free: 19.96 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.615e-06/1.234, allocations: 0 / 1.079 GB, free: 19.96 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.34e-05/1.234, allocations: 0.5938 kB / 1.079 GB, free: 19.96 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.003092/1.237, allocations: 1.022 MB / 1.08 GB, free: 19.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/1.237, allocations: 9.875 kB / 1.08 GB, free: 19.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002928/1.24, allocations: 278.4 kB / 1.08 GB, free: 19.25 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/1.242, allocations: 0.5523 MB / 1.081 GB, free: 19 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.122e-05/1.242, allocations: 38.81 kB / 1.081 GB, free: 18.99 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/1.243, allocations: 65.23 kB / 1.081 GB, free: 18.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/1.244, allocations: 0.646 MB / 1.081 GB, free: 18.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.294e-05/1.244, allocations: 1.375 kB / 1.081 GB, free: 18.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.42e-05/1.245, allocations: 21.62 kB / 1.081 GB, free: 18.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.402e-05/1.245, allocations: 23.7 kB / 1.081 GB, free: 18.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/1.246, allocations: 0.5317 MB / 1.082 GB, free: 18.89 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.005134/1.251, allocations: 2.461 MB / 1.084 GB, free: 17.55 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009502/1.252, allocations: 379.2 kB / 1.085 GB, free: 17.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006383/1.253, allocations: 236.9 kB / 1.085 GB, free: 17.52 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009551/1.254, allocations: 318.5 kB / 1.085 GB, free: 17.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/1.254, allocations: 43.34 kB / 1.085 GB, free: 17.19 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=39): time 3.216e-06/1.254, allocations: 0 / 1.085 GB, free: 17.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39): time 0.002268/1.256, allocations: 0.623 MB / 1.086 GB, free: 17.11 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/1.256, allocations: 59.81 kB / 1.086 GB, free: 17.05 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000921/1.257, allocations: 497.8 kB / 1.086 GB, free: 16.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.466e-05/1.257, allocations: 35.02 kB / 1.087 GB, free: 16.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002824/1.258, allocations: 330.8 kB / 1.087 GB, free: 16.74 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/1.258, allocations: 140.7 kB / 1.087 GB, free: 16.65 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/1.258, allocations: 8.031 kB / 1.087 GB, free: 16.65 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001827/1.258, allocations: 367.1 kB / 1.087 GB, free: 16.33 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005371/1.259, allocations: 169.9 kB / 1.087 GB, free: 16.33 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000641/1.259, allocations: 282.5 kB / 1.088 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006452/1.26, allocations: 203.6 kB / 1.088 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/1.26, allocations: 1.031 kB / 1.088 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001628/1.262, allocations: 0.5291 MB / 1.088 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/1.262, allocations: 153.2 kB / 1.089 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/1.262, allocations: 2.312 kB / 1.089 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/1.262, allocations: 4.781 kB / 1.089 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/1.263, allocations: 147.7 kB / 1.089 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005495/1.264, allocations: 0.5918 MB / 1.089 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/1.265, allocations: 77.67 kB / 1.089 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.408e-05/1.265, allocations: 21.62 kB / 1.089 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/1.265, allocations: 9.797 kB / 1.089 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001342/1.267, allocations: 451.1 kB / 1.09 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/1.267, allocations: 5.906 kB / 1.09 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/1.267, allocations: 4.219 kB / 1.09 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000952/1.268, allocations: 130.5 kB / 1.09 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/1.268, allocations: 8.031 kB / 1.09 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/1.269, allocations: 81.77 kB / 1.09 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-05/1.269, allocations: 17.91 kB / 1.09 GB, free: 15.32 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.000595/1.269, allocations: 310.1 kB / 1.09 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/1.27, allocations: 56.34 kB / 1.09 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/1.271, allocations: 0.4888 MB / 1.091 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/1.271, allocations: 3.062 kB / 1.091 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/1.271, allocations: 12.91 kB / 1.091 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00123/1.272, allocations: 0.6979 MB / 1.092 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003165/1.276, allocations: 1.294 MB / 1.093 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/1.276, allocations: 4.828 kB / 1.093 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/1.277, allocations: 131.2 kB / 1.093 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/1.277, allocations: 10.56 kB / 1.093 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-05/1.277, allocations: 13.05 kB / 1.093 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004373/1.277, allocations: 0.5863 MB / 1.094 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/1.277, allocations: 9.312 kB / 1.094 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/1.279, allocations: 0.8395 MB / 1.094 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005496/1.28, allocations: 184.4 kB / 1.095 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/1.28, allocations: 16.72 kB / 1.095 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009486/1.281, allocations: 50.5 kB / 1.095 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.739e-05/1.281, allocations: 31.73 kB / 1.095 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/1.281, allocations: 18.98 kB / 1.095 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006011/1.282, allocations: 349.8 kB / 1.095 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.61e-07/1.282, allocations: 0 / 1.095 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001481/1.283, allocations: 363.2 kB / 1.095 GB, free: 13.1 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.0006413/1.284, allocations: 213.5 kB / 1.096 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002263/1.286, allocations: 0.6723 MB / 1.096 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/1.286, allocations: 0 / 1.096 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006706/1.287, allocations: 225.3 kB / 1.096 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003323/1.29, allocations: 356.2 kB / 1.097 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00351/1.294, allocations: 1.716 MB / 1.098 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006485/1.294, allocations: 0.9531 MB / 1.099 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001329/1.296, allocations: 200 kB / 1.1 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/1.296, allocations: 48 kB / 1.1 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of SimCode: time 1.352e-06/1.296, allocations: 0 / 1.1 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of Templates: time 0.03146/1.328, allocations: 11.59 MB / 1.111 GB, free: 9.605 MB / 0.7136 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)