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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008029/0.0008028, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.0009239/0.0009239, allocations: 176.8 kB / 16.27 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.535/1.535, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.54/1.54, allocations: 252 MB / 0.5105 GB, free: 4.664 MB / 414.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.0006427/0.0006427, allocations: 16 kB / 0.6249 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6045/0.6052, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.1951/0.8003, allocations: 180.6 MB / 0.9051 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.5282/1.329, allocations: 7.013 MB / 0.9119 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/1.33, allocations: 25.12 kB / 0.912 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001227/1.331, allocations: 339.8 kB / 0.9123 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004438/1.335, allocations: 1.375 MB / 0.9136 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00342/1.339, allocations: 1.062 MB / 0.9147 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005351/1.344, allocations: 2.778 MB / 0.9174 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001382/1.346, allocations: 0.5542 MB / 0.9179 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003061/1.349, allocations: 0.7178 MB / 0.9186 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002826/1.352, allocations: 0.606 MB / 0.9192 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001528/1.352, allocations: 29.69 kB / 0.9192 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00676/1.359, allocations: 2.187 MB / 0.9214 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004998/1.359, allocations: 253.2 kB / 0.9216 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001085/1.36, allocations: 412.6 kB / 0.922 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004035/1.364, allocations: 1.836 MB / 0.9238 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.364, allocations: 0 / 0.9238 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.496e-06/1.364, allocations: 3.234 kB / 0.9238 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.436e-05/1.364, allocations: 0 / 0.9238 GB, free: 17.75 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001944/1.366, allocations: 1.02 MB / 0.9248 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/1.366, allocations: 15.64 kB / 0.9248 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/1.368, allocations: 269.3 kB / 0.9251 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/1.369, allocations: 0.5778 MB / 0.9256 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.72e-05/1.369, allocations: 43.34 kB / 0.9257 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/1.369, allocations: 52.44 kB / 0.9257 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/1.371, allocations: 0.6465 MB / 0.9264 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/1.371, allocations: 4.25 kB / 0.9264 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.342e-05/1.371, allocations: 28.09 kB / 0.9264 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/1.371, allocations: 22.86 kB / 0.9264 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008514/1.372, allocations: 0.5265 MB / 0.9269 GB, free: 16.67 MB / 0.7325 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.002856/1.374, allocations: 2.466 MB / 0.9293 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005617/1.375, allocations: 372.8 kB / 0.9297 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003375/1.375, allocations: 245.1 kB / 0.9299 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005958/1.376, allocations: 320.6 kB / 0.9302 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/1.376, allocations: 32.94 kB / 0.9303 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 2.675e-06/1.376, allocations: 3.594 kB / 0.9303 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39): time 0.001379/1.377, allocations: 0.6343 MB / 0.9309 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/1.378, allocations: 53.16 kB / 0.9309 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005544/1.378, allocations: 0.4907 MB / 0.9314 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.825e-05/1.378, allocations: 40.41 kB / 0.9314 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/1.378, allocations: 326.9 kB / 0.9318 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000142/1.379, allocations: 142.2 kB / 0.9319 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.796e-05/1.379, allocations: 38.25 kB / 0.9319 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001947/1.379, allocations: 368.5 kB / 0.9323 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/1.379, allocations: 165.5 kB / 0.9324 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003886/1.38, allocations: 288.4 kB / 0.9327 GB, free: 14 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006722/1.38, allocations: 453.7 kB / 0.9331 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/1.38, allocations: 2.031 kB / 0.9331 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008551/1.381, allocations: 0.5264 MB / 0.9337 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.133e-05/1.381, allocations: 160.1 kB / 0.9338 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/1.381, allocations: 3.312 kB / 0.9338 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/1.381, allocations: 3.344 kB / 0.9338 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007397/1.382, allocations: 146.5 kB / 0.934 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004283/1.382, allocations: 0.6 MB / 0.9345 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006971/1.383, allocations: 83.05 kB / 0.9346 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/1.383, allocations: 25.56 kB / 0.9347 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.552e-06/1.383, allocations: 2.531 kB / 0.9347 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007482/1.384, allocations: 467.6 kB / 0.9351 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.384, allocations: 7.297 kB / 0.9351 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.25e-06/1.384, allocations: 3.188 kB / 0.9351 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004839/1.385, allocations: 133.2 kB / 0.9352 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/1.385, allocations: 2.906 kB / 0.9352 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006087/1.385, allocations: 82.59 kB / 0.9353 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.511e-05/1.385, allocations: 18.22 kB / 0.9353 GB, free: 13 MB / 0.7325 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.0005184/1.386, allocations: 307.2 kB / 0.9356 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/1.386, allocations: 57.94 kB / 0.9357 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/1.387, allocations: 489.8 kB / 0.9362 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.168e-06/1.387, allocations: 5.094 kB / 0.9362 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.387, allocations: 0 / 0.9362 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009564/1.388, allocations: 0.7114 MB / 0.9368 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/1.39, allocations: 1.294 MB / 0.9381 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.39, allocations: 3.312 kB / 0.9381 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006181/1.391, allocations: 141.6 kB / 0.9383 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/1.391, allocations: 3.344 kB / 0.9383 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/1.391, allocations: 7.25 kB / 0.9383 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003449/1.391, allocations: 0.5962 MB / 0.9388 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.391, allocations: 0 / 0.9388 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/1.392, allocations: 0.8341 MB / 0.9397 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002826/1.393, allocations: 187.5 kB / 0.9398 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.442e-05/1.393, allocations: 6.969 kB / 0.9398 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005285/1.393, allocations: 60.83 kB / 0.9399 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.597e-05/1.393, allocations: 32.22 kB / 0.9399 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/1.393, allocations: 19.17 kB / 0.94 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003831/1.394, allocations: 350.3 kB / 0.9403 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.663e-06/1.394, allocations: 0 / 0.9403 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001102/1.395, allocations: 363.9 kB / 0.9406 GB, free: 10.8 MB / 0.7325 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.0005086/1.395, allocations: 209.3 kB / 0.9408 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001473/1.397, allocations: 0.6812 MB / 0.9415 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.397, allocations: 0 / 0.9415 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003977/1.397, allocations: 229.4 kB / 0.9417 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001984/1.399, allocations: 354 kB / 0.9421 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/1.402, allocations: 1.722 MB / 0.9437 GB, free: 9.672 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000571/1.402, allocations: 0.9512 MB / 0.9447 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007396/1.403, allocations: 211.4 kB / 0.9449 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/1.403, allocations: 45.03 kB / 0.9449 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/1.403, allocations: 0 / 0.9449 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of Templates: time 0.02229/1.426, allocations: 11.95 MB / 0.9566 GB, free: 7.672 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: