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.001725/0.001725, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002198/0.002198, allocations: 196.9 kB / 16.53 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.547/1.547, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.592/1.592, allocations: 251.7 MB / 0.5092 GB, free: 3.129 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.001773/0.001774, allocations: 75.89 kB / 0.6223 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5492/0.551, allocations: 104.7 MB / 0.7245 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.2067/0.7577, allocations: 185.2 MB / 0.9054 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.6503/1.408, allocations: 7.015 MB / 0.9123 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002006/1.41, allocations: 29.53 kB / 0.9123 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001722/1.412, allocations: 398.5 kB / 0.9127 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005704/1.418, allocations: 1.447 MB / 0.9141 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004909/1.423, allocations: 1.177 MB / 0.9152 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004477/1.427, allocations: 1.996 MB / 0.9172 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001502/1.429, allocations: 0.6684 MB / 0.9178 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/1.431, allocations: 0.8431 MB / 0.9187 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002209/1.433, allocations: 0.6061 MB / 0.9192 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001889/1.434, allocations: 68.75 kB / 0.9193 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006101/1.44, allocations: 1.931 MB / 0.9212 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006979/1.44, allocations: 298.9 kB / 0.9215 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001142/1.442, allocations: 435.1 kB / 0.9219 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005799/1.447, allocations: 1.772 MB / 0.9236 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/1.447, allocations: 0 / 0.9236 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.325e-06/1.447, allocations: 1.156 kB / 0.9236 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.57e-05/1.448, allocations: 0.875 kB / 0.9236 GB, free: 1.598 MB / 0.7169 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.002837/1.45, allocations: 1.159 MB / 0.9248 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/1.45, allocations: 13.38 kB / 0.9248 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002206/1.453, allocations: 270.7 kB / 0.925 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/1.454, allocations: 0.5744 MB / 0.9256 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.703e-05/1.454, allocations: 44.78 kB / 0.9256 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/1.454, allocations: 57.17 kB / 0.9257 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/1.455, allocations: 0.6473 MB / 0.9263 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/1.455, allocations: 3.906 kB / 0.9263 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.892e-05/1.455, allocations: 24.41 kB / 0.9264 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.495e-05/1.455, allocations: 20.03 kB / 0.9264 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008798/1.456, allocations: 0.5204 MB / 0.9269 GB, free: 16.51 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.00308/1.459, allocations: 2.477 MB / 0.9293 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/1.46, allocations: 372.2 kB / 0.9297 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003617/1.46, allocations: 234.3 kB / 0.9299 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005735/1.461, allocations: 306.7 kB / 0.9302 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/1.461, allocations: 40.38 kB / 0.9302 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 3.296e-06/1.461, allocations: 0 / 0.9302 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39): time 0.001458/1.462, allocations: 0.6113 MB / 0.9308 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/1.463, allocations: 55.12 kB / 0.9309 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005655/1.463, allocations: 0.4941 MB / 0.9313 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/1.463, allocations: 35.98 kB / 0.9314 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/1.463, allocations: 328.4 kB / 0.9317 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/1.464, allocations: 137.3 kB / 0.9318 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/1.464, allocations: 82.39 kB / 0.9319 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.464, allocations: 369.8 kB / 0.9322 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003061/1.464, allocations: 173.7 kB / 0.9324 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003788/1.465, allocations: 278 kB / 0.9327 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007826/1.465, allocations: 452 kB / 0.9331 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.465, allocations: 0 / 0.9331 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001083/1.466, allocations: 0.5162 MB / 0.9336 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/1.467, allocations: 9.188 kB / 0.9336 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/1.467, allocations: 5.312 kB / 0.9336 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/1.467, allocations: 10.69 kB / 0.9336 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008316/1.467, allocations: 132.8 kB / 0.9338 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005042/1.468, allocations: 0.5943 MB / 0.9343 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006299/1.469, allocations: 54.03 kB / 0.9344 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-05/1.469, allocations: 16.12 kB / 0.9344 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005553/1.469, allocations: 354.3 kB / 0.9348 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000424/1.47, allocations: 276.8 kB / 0.935 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007597/1.47, allocations: 449.2 kB / 0.9354 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.754e-06/1.47, allocations: 4.328 kB / 0.9354 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001022/1.471, allocations: 0.5162 MB / 0.936 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/1.471, allocations: 5.344 kB / 0.936 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1.471, allocations: 6.312 kB / 0.936 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/1.472, allocations: 6.156 kB / 0.936 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004956/1.472, allocations: 112.5 kB / 0.9361 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/1.472, allocations: 8.438 kB / 0.9361 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006707/1.473, allocations: 46.28 kB / 0.9361 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.714e-05/1.473, allocations: 25.34 kB / 0.9362 GB, free: 12.72 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.0002976/1.473, allocations: 210.5 kB / 0.9364 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/1.473, allocations: 60.72 kB / 0.9364 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/1.474, allocations: 475.3 kB / 0.9369 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/1.474, allocations: 5.812 kB / 0.9369 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/1.474, allocations: 4.156 kB / 0.9369 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009535/1.475, allocations: 0.695 MB / 0.9376 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002344/1.478, allocations: 1.281 MB / 0.9388 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.478, allocations: 3.219 kB / 0.9388 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006107/1.478, allocations: 126.5 kB / 0.9389 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/1.478, allocations: 5.25 kB / 0.9389 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/1.478, allocations: 12.41 kB / 0.9389 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003342/1.479, allocations: 0.597 MB / 0.9395 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.479, allocations: 2.625 kB / 0.9395 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/1.48, allocations: 0.8261 MB / 0.9403 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002969/1.48, allocations: 180.2 kB / 0.9405 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.425e-05/1.48, allocations: 12.22 kB / 0.9405 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004371/1.481, allocations: 20.17 kB / 0.9405 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/1.481, allocations: 36.05 kB / 0.9406 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/1.481, allocations: 10.12 kB / 0.9406 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004663/1.481, allocations: 359.8 kB / 0.9409 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.481, allocations: 1.984 kB / 0.9409 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001517/1.483, allocations: 369.3 kB / 0.9413 GB, free: 10.55 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.0006267/1.484, allocations: 207.4 kB / 0.9415 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001641/1.485, allocations: 0.7039 MB / 0.9422 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.485, allocations: 4.188 kB / 0.9422 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004057/1.486, allocations: 221.4 kB / 0.9424 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/1.487, allocations: 360.2 kB / 0.9427 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/1.49, allocations: 1.387 MB / 0.9441 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005481/1.491, allocations: 0.9524 MB / 0.945 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008597/1.491, allocations: 204.3 kB / 0.9452 GB, free: 9.102 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/1.492, allocations: 51.89 kB / 0.9453 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of SimCode: time 5.71e-07/1.492, allocations: 4 kB / 0.9453 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of Templates: time 0.02805/1.52, allocations: 12.47 MB / 0.9574 GB, free: 8.391 MB / 0.7325 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)