Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json 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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.673/4.673, allocations: 0.5623 GB / 0.5769 GB, free: 3.324 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00248/0.00248, allocations: 356.4 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.848/3.848, allocations: 410.7 MB / 1.112 GB, free: 6.074 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001764/0.001764, allocations: 179.7 kB / 1.225 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005193/0.0005195, allocations: 12 kB / 1.348 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5717/0.5722, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.1598/0.7321, allocations: 167.9 MB / 1.625 GB, free: 116.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.007314/0.7394, allocations: 4.588 MB / 1.629 GB, free: 111.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008342/0.7403, allocations: 23.81 kB / 1.629 GB, free: 111.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.7414, allocations: 381.6 kB / 1.63 GB, free: 111.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.003672/0.7451, allocations: 1.34 MB / 1.631 GB, free: 110.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002767/0.7479, allocations: 0.8414 MB / 1.632 GB, free: 109.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002265/0.7502, allocations: 2.299 MB / 1.634 GB, free: 107 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006662/0.7509, allocations: 0.4895 MB / 1.634 GB, free: 106.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001466/0.7524, allocations: 0.7857 MB / 1.635 GB, free: 105.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006784/0.7531, allocations: 0.5603 MB / 1.636 GB, free: 105.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.613e-05/0.7532, allocations: 28 kB / 1.636 GB, free: 105.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.7547, allocations: 0.6195 MB / 1.636 GB, free: 104.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002418/0.755, allocations: 243.2 kB / 1.637 GB, free: 104.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.7552, allocations: 173.3 kB / 1.637 GB, free: 104.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.7563, allocations: 0.9235 MB / 1.638 GB, free: 103.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.444e-06/0.7563, allocations: 8 kB / 1.638 GB, free: 103.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.89e-06/0.7563, allocations: 0 / 1.638 GB, free: 103.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.7563, allocations: 0 / 1.638 GB, free: 103.1 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001416/0.7578, allocations: 0.9231 MB / 1.639 GB, free: 102.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.7578, allocations: 15.56 kB / 1.639 GB, free: 102.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.7593, allocations: 206.9 kB / 1.639 GB, free: 101.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.7604, allocations: 0.5524 MB / 1.639 GB, free: 101.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.7604, allocations: 42.62 kB / 1.639 GB, free: 101.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.7605, allocations: 56 kB / 1.639 GB, free: 101.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.7616, allocations: 0.6167 MB / 1.64 GB, free: 100.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.7617, allocations: 0 / 1.64 GB, free: 100.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.344e-05/0.7617, allocations: 20 kB / 1.64 GB, free: 100.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.099e-05/0.7618, allocations: 21.31 kB / 1.64 GB, free: 100.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009446/0.7627, allocations: 0.4891 MB / 1.641 GB, free: 100.1 MB / 0.8542 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.003028/0.7658, allocations: 2.388 MB / 1.643 GB, free: 97.51 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006479/0.7665, allocations: 359.6 kB / 1.643 GB, free: 97.15 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/0.7668, allocations: 208.8 kB / 1.643 GB, free: 96.95 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005685/0.7674, allocations: 315.2 kB / 1.644 GB, free: 96.58 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.7675, allocations: 38.55 kB / 1.644 GB, free: 96.54 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=36): time 4.028e-06/0.7675, allocations: 4 kB / 1.644 GB, free: 96.53 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36): time 0.001367/0.7689, allocations: 0.5518 MB / 1.644 GB, free: 95.97 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.7689, allocations: 59.27 kB / 1.644 GB, free: 95.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006252/0.7695, allocations: 498.9 kB / 1.645 GB, free: 95.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.309e-05/0.7696, allocations: 33.7 kB / 1.645 GB, free: 95.36 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.7698, allocations: 320.5 kB / 1.645 GB, free: 95.05 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.7699, allocations: 122.1 kB / 1.645 GB, free: 94.93 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.77, allocations: 8 kB / 1.645 GB, free: 94.92 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.7701, allocations: 370.8 kB / 1.646 GB, free: 94.55 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.7704, allocations: 140.8 kB / 1.646 GB, free: 94.41 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003691/0.7707, allocations: 260.6 kB / 1.646 GB, free: 94.11 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/0.7711, allocations: 183.5 kB / 1.646 GB, free: 93.94 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.332e-06/0.7711, allocations: 4 kB / 1.646 GB, free: 93.93 MB / 0.8542 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008869/0.772, allocations: 489.8 kB / 1.647 GB, free: 93.45 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.433e-05/0.7721, allocations: 149 kB / 1.647 GB, free: 93.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.332e-06/0.7721, allocations: 4 kB / 1.647 GB, free: 93.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.7722, allocations: 7.953 kB / 1.647 GB, free: 93.26 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006933/0.7729, allocations: 99.88 kB / 1.647 GB, free: 93.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002944/0.7732, allocations: 0.5938 MB / 1.648 GB, free: 92.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006624/0.7739, allocations: 75.58 kB / 1.648 GB, free: 92.47 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.847e-05/0.7739, allocations: 18.48 kB / 1.648 GB, free: 92.45 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.539e-06/0.774, allocations: 4 kB / 1.648 GB, free: 92.45 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007378/0.7747, allocations: 401.4 kB / 1.648 GB, free: 92.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.114e-06/0.7747, allocations: 4 kB / 1.648 GB, free: 92.05 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.102e-06/0.7747, allocations: 8.281 kB / 1.648 GB, free: 92.05 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/0.7752, allocations: 83.89 kB / 1.648 GB, free: 91.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.7752, allocations: 7.938 kB / 1.648 GB, free: 91.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005805/0.7758, allocations: 78.23 kB / 1.648 GB, free: 91.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-05/0.7759, allocations: 19.98 kB / 1.648 GB, free: 91.86 MB / 0.8542 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 (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.0003598/0.7762, allocations: 308.9 kB / 1.648 GB, free: 91.55 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.7764, allocations: 55.34 kB / 1.649 GB, free: 91.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008472/0.7772, allocations: 441.5 kB / 1.649 GB, free: 91.05 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.321e-06/0.7772, allocations: 0 / 1.649 GB, free: 91.05 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.833e-06/0.7773, allocations: 4 kB / 1.649 GB, free: 91.05 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006345/0.7779, allocations: 0.6497 MB / 1.65 GB, free: 90.31 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/0.7798, allocations: 1.203 MB / 1.651 GB, free: 89.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.805e-06/0.7798, allocations: 7.984 kB / 1.651 GB, free: 89.02 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006057/0.7804, allocations: 91.83 kB / 1.651 GB, free: 88.93 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.7805, allocations: 4 kB / 1.651 GB, free: 88.93 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.772e-05/0.7805, allocations: 11.98 kB / 1.651 GB, free: 88.92 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002336/0.7808, allocations: 0.5938 MB / 1.651 GB, free: 88.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.592e-06/0.7808, allocations: 0 / 1.651 GB, free: 88.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.7818, allocations: 0.7391 MB / 1.652 GB, free: 87.53 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002654/0.7821, allocations: 172.4 kB / 1.652 GB, free: 87.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.413e-05/0.7822, allocations: 15.98 kB / 1.652 GB, free: 87.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005647/0.7828, allocations: 50 kB / 1.652 GB, free: 87.28 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.7828, allocations: 31.86 kB / 1.652 GB, free: 87.25 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/0.7829, allocations: 11.94 kB / 1.652 GB, free: 87.23 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004541/0.7834, allocations: 358.8 kB / 1.653 GB, free: 86.89 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.79e-07/0.7834, allocations: 0 / 1.653 GB, free: 86.89 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001081/0.7845, allocations: 335.2 kB / 1.653 GB, free: 86.56 MB / 0.8542 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 (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.0004278/0.7849, allocations: 185.2 kB / 1.653 GB, free: 86.38 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001285/0.7862, allocations: 0.5815 MB / 1.654 GB, free: 85.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.182e-06/0.7862, allocations: 0 / 1.654 GB, free: 85.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003823/0.7866, allocations: 185.2 kB / 1.654 GB, free: 85.62 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/0.7887, allocations: 369.9 kB / 1.654 GB, free: 85.27 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002309/0.791, allocations: 1.674 MB / 1.656 GB, free: 83.55 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.7915, allocations: 0.9607 MB / 1.657 GB, free: 82.57 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0009281/0.7924, allocations: 200.9 kB / 1.657 GB, free: 82.37 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.7926, allocations: 51.44 kB / 1.657 GB, free: 82.32 MB / 0.8542 GB Notification: Performance of SimCode: time 1.599e-06/0.7926, allocations: 0 / 1.657 GB, free: 82.32 MB / 0.8542 GB Notification: Performance of Templates: time 0.0233/0.8159, allocations: 11.06 MB / 1.668 GB, free: 71.54 MB / 0.8542 GB