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.339/1.339, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001131/0.001131, allocations: 175.5 kB / 326.5 MB, free: 2.684 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.599/1.599, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0007492/0.0007492, allocations: 88.69 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003297/0.0003298, allocations: 12.56 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2108, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.7057/0.9166, allocations: 182.7 MB / 1.075 GB, free: 1.738 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01225/0.9289, allocations: 7.109 MB / 1.082 GB, free: 1.574 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.9303, allocations: 25.78 kB / 1.082 GB, free: 1.574 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.9315, allocations: 340.9 kB / 1.082 GB, free: 1.566 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004648/0.9362, allocations: 1.37 MB / 1.084 GB, free: 1.492 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003893/0.9401, allocations: 1.073 MB / 1.085 GB, free: 1.449 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004471/0.9446, allocations: 2.768 MB / 1.087 GB, free: 1.445 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/0.9459, allocations: 0.5491 MB / 1.088 GB, free: 1.348 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002941/0.9489, allocations: 0.7414 MB / 1.089 GB, free: 1.34 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002548/0.9515, allocations: 0.6093 MB / 1.089 GB, free: 1.336 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003048/0.9518, allocations: 34.19 kB / 1.089 GB, free: 1.332 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005589/0.9574, allocations: 2.185 MB / 1.092 GB, free: 1.312 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006876/0.9581, allocations: 247.5 kB / 1.092 GB, free: 1.312 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001541/0.9596, allocations: 388.5 kB / 1.092 GB, free: 1.312 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003265/0.9629, allocations: 1.275 MB / 1.093 GB, free: 1.223 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.9629, allocations: 0 / 1.093 GB, free: 1.223 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.865e-06/0.963, allocations: 0 / 1.093 GB, free: 1.223 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.083e-05/0.963, allocations: 0 / 1.093 GB, free: 1.223 MB / 0.698 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.002988/0.966, allocations: 1.02 MB / 1.094 GB, free: 16.55 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.9661, allocations: 9.406 kB / 1.094 GB, free: 16.55 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002191/0.9683, allocations: 274.6 kB / 1.095 GB, free: 16.51 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.9696, allocations: 0.5711 MB / 1.095 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.205e-05/0.9697, allocations: 43.02 kB / 1.095 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.9698, allocations: 64.39 kB / 1.095 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.9711, allocations: 0.6451 MB / 1.096 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.9712, allocations: 0 / 1.096 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.167e-05/0.9712, allocations: 20.09 kB / 1.096 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.631e-05/0.9713, allocations: 29.47 kB / 1.096 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.9723, allocations: 0.5286 MB / 1.096 GB, free: 16.13 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.003722/0.9761, allocations: 2.47 MB / 1.099 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006646/0.9768, allocations: 379.7 kB / 1.099 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003762/0.9771, allocations: 234.1 kB / 1.099 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006274/0.9778, allocations: 320.3 kB / 1.1 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.9778, allocations: 38.38 kB / 1.1 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=39): time 2.404e-06/0.9778, allocations: 4 kB / 1.1 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39): time 0.001591/0.9794, allocations: 0.6329 MB / 1.1 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.9795, allocations: 55.64 kB / 1.101 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007118/0.9802, allocations: 498.6 kB / 1.101 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.244e-05/0.9803, allocations: 36.67 kB / 1.101 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/0.9805, allocations: 318.2 kB / 1.101 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.9807, allocations: 143.7 kB / 1.101 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.368e-05/0.9808, allocations: 43.7 kB / 1.101 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.981, allocations: 369.8 kB / 1.102 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003272/0.9813, allocations: 168.8 kB / 1.102 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004111/0.9817, allocations: 290.2 kB / 1.102 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007298/0.9825, allocations: 445.8 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.9825, allocations: 8.906 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009835/0.9835, allocations: 0.5223 MB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.9836, allocations: 159 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.9836, allocations: 3.188 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/0.9837, allocations: 2.094 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007845/0.9845, allocations: 151.4 kB / 1.104 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004254/0.9849, allocations: 0.5905 MB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008061/0.9857, allocations: 83.59 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.496e-05/0.9858, allocations: 21.3 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.9858, allocations: 2.125 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008549/0.9867, allocations: 468.7 kB / 1.105 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.9867, allocations: 4.688 kB / 1.105 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.832e-06/0.9867, allocations: 2.906 kB / 1.105 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004901/0.9872, allocations: 129.8 kB / 1.105 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.9872, allocations: 8.312 kB / 1.105 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007295/0.9879, allocations: 76.19 kB / 1.105 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/0.988, allocations: 22.12 kB / 1.105 GB, free: 12.45 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 (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.000455/0.9885, allocations: 311 kB / 1.105 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.9886, allocations: 61.67 kB / 1.105 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009282/0.9896, allocations: 489.6 kB / 1.106 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.9896, allocations: 3.156 kB / 1.106 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.9896, allocations: 4 kB / 1.106 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008479/0.9905, allocations: 0.7131 MB / 1.106 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002331/0.9928, allocations: 1.293 MB / 1.108 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.9928, allocations: 4.031 kB / 1.108 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006021/0.9934, allocations: 128.5 kB / 1.108 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.9934, allocations: 6.438 kB / 1.108 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/0.9935, allocations: 12.81 kB / 1.108 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000318/0.9938, allocations: 0.5969 MB / 1.108 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.9938, allocations: 5.844 kB / 1.108 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.995, allocations: 0.8282 MB / 1.109 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003404/0.9954, allocations: 186.5 kB / 1.109 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.9955, allocations: 12.16 kB / 1.109 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005707/0.9961, allocations: 54.33 kB / 1.109 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.514e-05/0.9962, allocations: 27.64 kB / 1.109 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.629e-05/0.9962, allocations: 16.28 kB / 1.11 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004232/0.9967, allocations: 350.2 kB / 1.11 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9967, allocations: 7 kB / 1.11 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001301/0.998, allocations: 365.1 kB / 1.11 GB, free: 10.25 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 (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.000666/0.9987, allocations: 217.5 kB / 1.11 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001568/1, allocations: 0.6816 MB / 1.111 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/1, allocations: 4.062 kB / 1.111 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004864/1.001, allocations: 222 kB / 1.111 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/1.003, allocations: 355.6 kB / 1.112 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003006/1.006, allocations: 1.693 MB / 1.113 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000664/1.006, allocations: 0.9451 MB / 1.114 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/1.007, allocations: 55.58 kB / 1.114 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of SimCode: time 1.333e-06/1.007, allocations: 4 kB / 1.114 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of Templates: time 0.02492/1.032, allocations: 12.88 MB / 1.127 GB, free: 5.332 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)