Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.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.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002317/0.002317, allocations: 186.6 kB / 16.25 MB, free: 6.621 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.585/1.585, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.575/1.575, allocations: 251.6 MB / 0.5089 GB, free: 3.309 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.001368/0.001368, allocations: 67.91 kB / 0.6217 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6671/0.6685, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2396/0.9082, allocations: 184.6 MB / 0.9042 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.6082/1.516, allocations: 4.576 MB / 0.9087 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/1.518, allocations: 27.81 kB / 0.9087 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001311/1.519, allocations: 359.6 kB / 0.9091 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003911/1.523, allocations: 1.266 MB / 0.9103 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002461/1.526, allocations: 0.7056 MB / 0.911 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003883/1.53, allocations: 2.008 MB / 0.9129 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001596/1.531, allocations: 0.6508 MB / 0.9136 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004916/1.536, allocations: 1.094 MB / 0.9146 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001931/1.538, allocations: 0.6376 MB / 0.9153 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001966/1.538, allocations: 66.34 kB / 0.9153 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004083/1.542, allocations: 1.433 MB / 0.9167 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005728/1.543, allocations: 299.6 kB / 0.917 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009346/1.544, allocations: 420.5 kB / 0.9174 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004524/1.549, allocations: 1.558 MB / 0.9189 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/1.549, allocations: 0.5312 kB / 0.9189 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.294e-06/1.549, allocations: 1.953 kB / 0.9189 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.697e-05/1.549, allocations: 0.5 kB / 0.9189 GB, free: 1.68 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.00247/1.551, allocations: 1.096 MB / 0.92 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/1.551, allocations: 9.594 kB / 0.92 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00159/1.553, allocations: 202.3 kB / 0.9202 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/1.554, allocations: 0.5806 MB / 0.9208 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.79e-05/1.554, allocations: 41.22 kB / 0.9208 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/1.554, allocations: 54.7 kB / 0.9209 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/1.555, allocations: 0.63 MB / 0.9215 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/1.555, allocations: 1.375 kB / 0.9215 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.725e-05/1.555, allocations: 23.56 kB / 0.9215 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.38e-05/1.555, allocations: 22.69 kB / 0.9215 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008288/1.556, allocations: 0.4933 MB / 0.922 GB, free: 16.63 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.003051/1.559, allocations: 2.398 MB / 0.9244 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004822/1.56, allocations: 355.5 kB / 0.9247 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/1.56, allocations: 207.7 kB / 0.9249 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005727/1.561, allocations: 309.9 kB / 0.9252 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/1.561, allocations: 37.78 kB / 0.9252 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 2.274e-06/1.561, allocations: 1.203 kB / 0.9252 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=36): time 0.001156/1.562, allocations: 0.5445 MB / 0.9258 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/1.562, allocations: 56.94 kB / 0.9258 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005517/1.562, allocations: 0.4949 MB / 0.9263 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.037e-05/1.562, allocations: 35.45 kB / 0.9263 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/1.563, allocations: 312.5 kB / 0.9266 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/1.563, allocations: 136.7 kB / 0.9268 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/1.563, allocations: 80.83 kB / 0.9268 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001479/1.563, allocations: 364.5 kB / 0.9272 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/1.563, allocations: 151.3 kB / 0.9273 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/1.564, allocations: 254.5 kB / 0.9276 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004753/1.564, allocations: 407.8 kB / 0.928 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.564, allocations: 0 / 0.928 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006673/1.565, allocations: 475.7 kB / 0.9284 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/1.565, allocations: 5.875 kB / 0.9284 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/1.565, allocations: 7.344 kB / 0.9284 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/1.565, allocations: 3.562 kB / 0.9284 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006212/1.565, allocations: 107.5 kB / 0.9285 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004283/1.566, allocations: 0.5978 MB / 0.9291 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007132/1.567, allocations: 66.84 kB / 0.9292 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-05/1.567, allocations: 20.78 kB / 0.9292 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004541/1.567, allocations: 328.1 kB / 0.9295 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002895/1.567, allocations: 255.8 kB / 0.9298 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004945/1.568, allocations: 400.7 kB / 0.9301 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.826e-06/1.568, allocations: 2.531 kB / 0.9301 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.000643/1.569, allocations: 481.4 kB / 0.9306 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/1.569, allocations: 6.625 kB / 0.9306 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/1.569, allocations: 2.719 kB / 0.9306 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.322e-06/1.569, allocations: 4.219 kB / 0.9306 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/1.569, allocations: 91.09 kB / 0.9307 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/1.569, allocations: 11.39 kB / 0.9307 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006793/1.57, allocations: 62.2 kB / 0.9308 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/1.57, allocations: 23.89 kB / 0.9308 GB, free: 12.89 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 (49): * Single equations (assignments): 48 * 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.0002127/1.57, allocations: 206.7 kB / 0.931 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.87e-05/1.57, allocations: 53.91 kB / 0.931 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006868/1.571, allocations: 445.1 kB / 0.9315 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/1.571, allocations: 3.125 kB / 0.9315 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.571, allocations: 2.688 kB / 0.9315 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006194/1.571, allocations: 0.6477 MB / 0.9321 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/1.573, allocations: 1.203 MB / 0.9333 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.573, allocations: 2.906 kB / 0.9333 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004785/1.574, allocations: 94.95 kB / 0.9334 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/1.574, allocations: 0 / 0.9334 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.513e-05/1.574, allocations: 19.31 kB / 0.9334 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003034/1.574, allocations: 0.5919 MB / 0.934 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.574, allocations: 0 / 0.934 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008218/1.575, allocations: 0.7439 MB / 0.9347 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000263/1.575, allocations: 176.4 kB / 0.9349 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.671e-05/1.575, allocations: 12.73 kB / 0.9349 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005031/1.576, allocations: 48.77 kB / 0.9349 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/1.576, allocations: 25.36 kB / 0.9349 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/1.576, allocations: 22.09 kB / 0.935 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004365/1.576, allocations: 358.8 kB / 0.9353 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/1.576, allocations: 0.9062 kB / 0.9353 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001123/1.577, allocations: 350.6 kB / 0.9356 GB, free: 10.71 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],senMasFra1.X) * 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 (35): * Single equations (assignments): 34 * 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.0005398/1.578, allocations: 188.2 kB / 0.9358 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001176/1.579, allocations: 0.6194 MB / 0.9364 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.579, allocations: 4.438 kB / 0.9364 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002656/1.579, allocations: 182.1 kB / 0.9366 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/1.581, allocations: 365.1 kB / 0.937 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002689/1.584, allocations: 1.579 MB / 0.9385 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005069/1.584, allocations: 0.9431 MB / 0.9394 GB, free: 9.066 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007013/1.585, allocations: 200.5 kB / 0.9396 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/1.585, allocations: 52.19 kB / 0.9397 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of SimCode: time 9.02e-07/1.585, allocations: 0 / 0.9397 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of Templates: time 0.02133/1.606, allocations: 11.84 MB / 0.9512 GB, free: 8.387 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)