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 2.527/2.527, allocations: 287.9 MB / 302.9 MB, free: 8.312 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001383/0.001383, allocations: 182.5 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.053/2.053, allocations: 205.4 MB / 0.6301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 92.75 kB / 0.7434 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000484/0.0004843, allocations: 12.38 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1562, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.779/0.9352, allocations: 155.3 MB / 1.13 GB, free: 200 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.008241/0.9435, allocations: 4.421 MB / 1.135 GB, free: 15.86 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.9447, allocations: 22.12 kB / 1.135 GB, free: 15.85 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.9463, allocations: 439.5 kB / 1.135 GB, free: 15.77 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004498/0.9508, allocations: 1.215 MB / 1.136 GB, free: 15.7 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003394/0.9543, allocations: 0.8466 MB / 1.137 GB, free: 15.67 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002433/0.9567, allocations: 1.118 MB / 1.138 GB, free: 15.62 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.9578, allocations: 0.4954 MB / 1.139 GB, free: 15.53 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002014/0.9599, allocations: 0.7297 MB / 1.139 GB, free: 15.43 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007695/0.9607, allocations: 365.5 kB / 1.14 GB, free: 15.36 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.9608, allocations: 32.31 kB / 1.14 GB, free: 15.35 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002295/0.9631, allocations: 0.6847 MB / 1.141 GB, free: 15.23 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003666/0.9635, allocations: 225.9 kB / 1.141 GB, free: 15.14 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003251/0.9639, allocations: 174.3 kB / 1.141 GB, free: 15.09 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001758/0.9656, allocations: 0.9196 MB / 1.142 GB, free: 14.64 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.701e-06/0.9657, allocations: 0 / 1.142 GB, free: 14.64 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.709e-06/0.9657, allocations: 0 / 1.142 GB, free: 14.64 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.9657, allocations: 0 / 1.142 GB, free: 14.64 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001803/0.9675, allocations: 0.9277 MB / 1.143 GB, free: 13.94 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.9676, allocations: 10.38 kB / 1.143 GB, free: 13.94 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001662/0.9693, allocations: 206.3 kB / 1.143 GB, free: 13.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.9706, allocations: 0.5583 MB / 1.143 GB, free: 13.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.409e-05/0.9707, allocations: 42.78 kB / 1.144 GB, free: 13.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.9708, allocations: 59.83 kB / 1.144 GB, free: 13.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.9721, allocations: 0.6024 MB / 1.144 GB, free: 13.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.9722, allocations: 5.438 kB / 1.144 GB, free: 13.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.695e-05/0.9722, allocations: 19.78 kB / 1.144 GB, free: 13.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.055e-05/0.9723, allocations: 21.16 kB / 1.144 GB, free: 13.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.9734, allocations: 0.489 MB / 1.145 GB, free: 13.21 MB / 0.698 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.004215/0.9776, allocations: 2.386 MB / 1.147 GB, free: 11.51 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007863/0.9785, allocations: 364.1 kB / 1.147 GB, free: 11.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004746/0.979, allocations: 145.3 kB / 1.147 GB, free: 11.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.979, allocations: 36.41 kB / 1.148 GB, free: 11.28 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 3.752e-06/0.979, allocations: 0 / 1.148 GB, free: 11.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.001566/0.9806, allocations: 0.5537 MB / 1.148 GB, free: 11.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.9807, allocations: 54.91 kB / 1.148 GB, free: 11.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008286/0.9815, allocations: 499.8 kB / 1.149 GB, free: 10.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.205e-05/0.9816, allocations: 35.89 kB / 1.149 GB, free: 10.85 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/0.9819, allocations: 315.2 kB / 1.149 GB, free: 10.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.9821, allocations: 130.2 kB / 1.149 GB, free: 10.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.9821, allocations: 9.719 kB / 1.149 GB, free: 10.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002253/0.9824, allocations: 365 kB / 1.149 GB, free: 10.24 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003445/0.9827, allocations: 144.5 kB / 1.15 GB, free: 10.21 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004652/0.9832, allocations: 262.3 kB / 1.15 GB, free: 10.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004079/0.9836, allocations: 183.3 kB / 1.15 GB, free: 10.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.304e-06/0.9837, allocations: 1.281 kB / 1.15 GB, free: 10.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001095/0.9848, allocations: 484.2 kB / 1.15 GB, free: 9.918 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005065/0.9853, allocations: 0.8753 MB / 1.151 GB, free: 9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.9853, allocations: 3.75 kB / 1.151 GB, free: 9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.9854, allocations: 4.219 kB / 1.151 GB, free: 9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007797/0.9861, allocations: 99.69 kB / 1.151 GB, free: 8.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005419/0.9867, allocations: 0.5998 MB / 1.152 GB, free: 8.383 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007953/0.9875, allocations: 71.03 kB / 1.152 GB, free: 8.348 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.325e-05/0.9876, allocations: 20.7 kB / 1.152 GB, free: 8.344 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.9876, allocations: 5.719 kB / 1.152 GB, free: 8.344 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008859/0.9885, allocations: 399 kB / 1.152 GB, free: 8.281 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.9885, allocations: 6.422 kB / 1.152 GB, free: 8.277 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.9886, allocations: 9 kB / 1.152 GB, free: 8.273 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004824/0.9891, allocations: 87.61 kB / 1.153 GB, free: 8.258 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.9891, allocations: 10.5 kB / 1.153 GB, free: 8.254 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007529/0.9899, allocations: 62.62 kB / 1.153 GB, free: 8.227 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.985e-05/0.9899, allocations: 16.69 kB / 1.153 GB, free: 8.227 MB / 0.698 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.0005099/0.9905, allocations: 310.4 kB / 1.153 GB, free: 8.012 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.9906, allocations: 59.5 kB / 1.153 GB, free: 7.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.9916, allocations: 448.1 kB / 1.153 GB, free: 7.852 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.849e-06/0.9917, allocations: 3.281 kB / 1.153 GB, free: 7.852 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.9917, allocations: 4 kB / 1.153 GB, free: 7.848 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008947/0.9926, allocations: 0.6483 MB / 1.154 GB, free: 7.367 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002635/0.9952, allocations: 1.205 MB / 1.155 GB, free: 6.688 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.9953, allocations: 1.625 kB / 1.155 GB, free: 6.688 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006875/0.996, allocations: 99.56 kB / 1.155 GB, free: 6.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.378e-05/0.996, allocations: 4.188 kB / 1.155 GB, free: 6.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.706e-05/0.9961, allocations: 13.16 kB / 1.155 GB, free: 6.652 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000493/0.9966, allocations: 0.5946 MB / 1.156 GB, free: 6.051 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.795e-06/0.9966, allocations: 6.312 kB / 1.156 GB, free: 6.047 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.9982, allocations: 0.8128 MB / 1.157 GB, free: 5.441 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004405/0.9986, allocations: 172.2 kB / 1.157 GB, free: 5.285 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.9988, allocations: 13.48 kB / 1.157 GB, free: 5.277 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006357/0.9994, allocations: 45.28 kB / 1.157 GB, free: 5.254 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.652e-05/0.9995, allocations: 31.16 kB / 1.157 GB, free: 5.234 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.277e-05/0.9996, allocations: 14.69 kB / 1.157 GB, free: 5.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006278/1, allocations: 352.2 kB / 1.157 GB, free: 5.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.71e-07/1, allocations: 0 / 1.157 GB, free: 5.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001278/1.002, allocations: 342.7 kB / 1.158 GB, free: 4.957 MB / 0.698 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.0005431/1.002, allocations: 185.5 kB / 1.158 GB, free: 4.828 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001658/1.004, allocations: 0.5788 MB / 1.158 GB, free: 4.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/1.004, allocations: 5.844 kB / 1.158 GB, free: 4.566 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004757/1.004, allocations: 183.1 kB / 1.159 GB, free: 4.488 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/1.006, allocations: 364.5 kB / 1.159 GB, free: 4.305 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003172/1.01, allocations: 1.662 MB / 1.161 GB, free: 3.098 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008151/1.01, allocations: 0.96 MB / 1.161 GB, free: 2.262 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001118/1.012, allocations: 206.5 kB / 1.162 GB, free: 2.168 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/1.012, allocations: 46.03 kB / 1.162 GB, free: 2.16 MB / 0.698 GB Notification: Performance of SimCode: time 1.959e-06/1.012, allocations: 0 / 1.162 GB, free: 2.16 MB / 0.698 GB Notification: Performance of Templates: time 0.02884/1.041, allocations: 11.07 MB / 1.173 GB, free: 12.7 MB / 0.7136 GB