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.0008304/0.0008301, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006193/0.006193, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.58/1.58, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.627/1.627, allocations: 252 MB / 0.5105 GB, free: 4.688 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.0005945/0.0005946, allocations: 20 kB / 0.6249 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6917/0.6923, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2188/0.9112, allocations: 182.3 MB / 0.9068 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.61/1.521, allocations: 4.627 MB / 0.9113 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/1.523, allocations: 29.47 kB / 0.9113 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0014/1.524, allocations: 346.2 kB / 0.9116 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004141/1.528, allocations: 1.267 MB / 0.9129 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002551/1.531, allocations: 0.6926 MB / 0.9135 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007126/1.538, allocations: 2.812 MB / 0.9163 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/1.54, allocations: 0.5446 MB / 0.9168 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004884/1.545, allocations: 0.9535 MB / 0.9178 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002012/1.547, allocations: 0.5983 MB / 0.9183 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001784/1.547, allocations: 32.88 kB / 0.9184 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004523/1.551, allocations: 1.548 MB / 0.9199 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005758/1.552, allocations: 257.2 kB / 0.9201 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001371/1.553, allocations: 397.2 kB / 0.9205 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003894/1.557, allocations: 1.509 MB / 0.922 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/1.557, allocations: 0.5312 kB / 0.922 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.414e-06/1.557, allocations: 0.7188 kB / 0.922 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.326e-05/1.557, allocations: 0 / 0.922 GB, free: 17.83 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002105/1.559, allocations: 0.9541 MB / 0.9229 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/1.559, allocations: 9.625 kB / 0.9229 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/1.561, allocations: 207.4 kB / 0.9231 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/1.562, allocations: 0.5761 MB / 0.9237 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.362e-05/1.562, allocations: 42.28 kB / 0.9237 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/1.562, allocations: 55.38 kB / 0.9238 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/1.563, allocations: 0.6305 MB / 0.9244 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/1.563, allocations: 4 kB / 0.9244 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.008e-05/1.563, allocations: 23.97 kB / 0.9244 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.645e-05/1.563, allocations: 21.81 kB / 0.9244 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007974/1.564, allocations: 0.4927 MB / 0.9249 GB, free: 16.79 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.003225/1.568, allocations: 2.4 MB / 0.9273 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004544/1.568, allocations: 349.2 kB / 0.9276 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/1.568, allocations: 208.6 kB / 0.9278 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005643/1.569, allocations: 323 kB / 0.9281 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/1.569, allocations: 37.66 kB / 0.9281 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 2.726e-06/1.569, allocations: 3.984 kB / 0.9281 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=36): time 0.001029/1.57, allocations: 0.5429 MB / 0.9287 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/1.57, allocations: 60.69 kB / 0.9287 GB, free: 15 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005275/1.57, allocations: 0.4886 MB / 0.9292 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.829e-05/1.571, allocations: 39.23 kB / 0.9292 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002101/1.571, allocations: 320.3 kB / 0.9296 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.917e-05/1.571, allocations: 129.3 kB / 0.9297 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.383e-05/1.571, allocations: 41.2 kB / 0.9297 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001353/1.571, allocations: 361.8 kB / 0.9301 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/1.571, allocations: 145 kB / 0.9302 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/1.572, allocations: 261.5 kB / 0.9304 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000526/1.572, allocations: 397.6 kB / 0.9308 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.572, allocations: 1.719 kB / 0.9308 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006993/1.573, allocations: 481.2 kB / 0.9313 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.012e-05/1.573, allocations: 159.4 kB / 0.9314 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/1.573, allocations: 2.938 kB / 0.9314 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/1.573, allocations: 3.094 kB / 0.9314 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005738/1.573, allocations: 99 kB / 0.9315 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003552/1.574, allocations: 0.5964 MB / 0.9321 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006915/1.575, allocations: 68.61 kB / 0.9322 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-05/1.575, allocations: 19.94 kB / 0.9322 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/1.575, allocations: 8.812 kB / 0.9322 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006191/1.575, allocations: 400.7 kB / 0.9326 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/1.575, allocations: 0 / 0.9326 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.704e-06/1.575, allocations: 5.406 kB / 0.9326 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/1.576, allocations: 90.7 kB / 0.9327 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/1.576, allocations: 3.5 kB / 0.9327 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005387/1.576, allocations: 77.81 kB / 0.9328 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/1.576, allocations: 20.7 kB / 0.9328 GB, free: 13.2 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.0003853/1.577, allocations: 309.8 kB / 0.9331 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.141e-05/1.577, allocations: 57.56 kB / 0.9331 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006828/1.577, allocations: 449.4 kB / 0.9336 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/1.577, allocations: 2.562 kB / 0.9336 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.577, allocations: 4 kB / 0.9336 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006199/1.578, allocations: 0.6472 MB / 0.9342 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/1.58, allocations: 1.206 MB / 0.9354 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/1.58, allocations: 0 / 0.9354 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004276/1.58, allocations: 97.39 kB / 0.9355 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/1.58, allocations: 6.188 kB / 0.9355 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/1.58, allocations: 14.94 kB / 0.9355 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002847/1.58, allocations: 0.59 MB / 0.9361 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.58, allocations: 6.25 kB / 0.9361 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008199/1.581, allocations: 0.7412 MB / 0.9368 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002575/1.582, allocations: 189.8 kB / 0.937 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.501e-05/1.582, allocations: 7.031 kB / 0.937 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004732/1.582, allocations: 42.77 kB / 0.937 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/1.582, allocations: 24.3 kB / 0.9371 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/1.582, allocations: 18.59 kB / 0.9371 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004209/1.583, allocations: 357.1 kB / 0.9374 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.583, allocations: 0 / 0.9374 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001095/1.584, allocations: 346.9 kB / 0.9377 GB, free: 10.99 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.0005118/1.584, allocations: 197.1 kB / 0.9379 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001075/1.585, allocations: 0.584 MB / 0.9385 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.585, allocations: 0 / 0.9385 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002752/1.586, allocations: 190.6 kB / 0.9387 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/1.588, allocations: 357.1 kB / 0.939 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/1.59, allocations: 1.654 MB / 0.9406 GB, free: 9.898 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004977/1.59, allocations: 0.9454 MB / 0.9416 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007867/1.591, allocations: 205.9 kB / 0.9418 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/1.591, allocations: 53.72 kB / 0.9418 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of SimCode: time 1.072e-06/1.591, allocations: 0 / 0.9418 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of Templates: time 0.02293/1.614, allocations: 11.45 MB / 0.953 GB, free: 8.453 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: