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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.336/1.336, allocations: 251.5 MB / 267.4 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 170.8 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.775/1.775, allocations: 205 MB / 0.5766 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008337/0.0008337, allocations: 96.02 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003315, allocations: 11.91 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2303, allocations: 105.4 MB / 0.8967 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.7147/0.9451, allocations: 184.4 MB / 1.077 GB, free: 1.707 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008176/0.9533, allocations: 4.67 MB / 1.081 GB, free: 1.59 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.9545, allocations: 29.91 kB / 1.081 GB, free: 1.586 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.9557, allocations: 348.5 kB / 1.082 GB, free: 1.582 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003956/0.9596, allocations: 1.272 MB / 1.083 GB, free: 1.508 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002549/0.9622, allocations: 0.6921 MB / 1.084 GB, free: 1.48 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004022/0.9662, allocations: 2.812 MB / 1.086 GB, free: 1.477 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009521/0.9672, allocations: 0.543 MB / 1.087 GB, free: 1.383 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003795/0.971, allocations: 0.9704 MB / 1.088 GB, free: 1.363 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/0.9724, allocations: 0.6012 MB / 1.088 GB, free: 1.359 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.089e-05/0.9725, allocations: 32.53 kB / 1.089 GB, free: 1.355 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003212/0.9757, allocations: 1.552 MB / 1.09 GB, free: 1.34 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003068/0.976, allocations: 253.9 kB / 1.09 GB, free: 1.336 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000555/0.9766, allocations: 374.3 kB / 1.091 GB, free: 1.336 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.9782, allocations: 1.077 MB / 1.092 GB, free: 1.258 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.9782, allocations: 1.25 kB / 1.092 GB, free: 1.258 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9783, allocations: 0 / 1.092 GB, free: 1.258 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.9783, allocations: 0 / 1.092 GB, free: 1.258 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001678/0.98, allocations: 0.9525 MB / 1.093 GB, free: 16.62 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.98, allocations: 9.188 kB / 1.093 GB, free: 16.62 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/0.9813, allocations: 205.5 kB / 1.093 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009785/0.9823, allocations: 0.5739 MB / 1.093 GB, free: 16.29 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.335e-05/0.9824, allocations: 43.38 kB / 1.093 GB, free: 16.29 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.9825, allocations: 54.75 kB / 1.093 GB, free: 16.29 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.9835, allocations: 0.6259 MB / 1.094 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.9836, allocations: 10.05 kB / 1.094 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.249e-05/0.9836, allocations: 24.88 kB / 1.094 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.849e-05/0.9837, allocations: 17.97 kB / 1.094 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007272/0.9844, allocations: 0.4986 MB / 1.095 GB, free: 16.2 MB / 0.7136 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.002755/0.9872, allocations: 2.398 MB / 1.097 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004645/0.9876, allocations: 344.5 kB / 1.097 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002583/0.9879, allocations: 215.4 kB / 1.097 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006053/0.9885, allocations: 324.2 kB / 1.098 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.9886, allocations: 37.34 kB / 1.098 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=36): time 3.076e-06/0.9886, allocations: 0 / 1.098 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36): time 0.001124/0.9897, allocations: 0.5439 MB / 1.098 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.9898, allocations: 54.44 kB / 1.098 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005722/0.9903, allocations: 0.4905 MB / 1.099 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.458e-05/0.9904, allocations: 40.2 kB / 1.099 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.9906, allocations: 316.2 kB / 1.099 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.9907, allocations: 126 kB / 1.099 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.828e-05/0.9908, allocations: 38.14 kB / 1.099 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.991, allocations: 366.8 kB / 1.1 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.9912, allocations: 145.3 kB / 1.1 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/0.9915, allocations: 256.8 kB / 1.1 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005073/0.992, allocations: 401.4 kB / 1.101 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.992, allocations: 0 / 1.101 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006771/0.9927, allocations: 483.1 kB / 1.101 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/0.9928, allocations: 165.8 kB / 1.101 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.9928, allocations: 3.125 kB / 1.101 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.9929, allocations: 2.25 kB / 1.101 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006132/0.9935, allocations: 104 kB / 1.101 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004172/0.9939, allocations: 0.5896 MB / 1.102 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006432/0.9946, allocations: 73.08 kB / 1.102 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/0.9946, allocations: 26.31 kB / 1.102 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.9946, allocations: 5.719 kB / 1.102 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005598/0.9952, allocations: 398.4 kB / 1.102 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.9952, allocations: 3.594 kB / 1.102 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.519e-06/0.9952, allocations: 8.234 kB / 1.102 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.9956, allocations: 87.55 kB / 1.102 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.9956, allocations: 6.719 kB / 1.102 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005056/0.9961, allocations: 72.42 kB / 1.102 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/0.9961, allocations: 16.2 kB / 1.102 GB, free: 12.59 MB / 0.7136 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.0003957/0.9965, allocations: 307.2 kB / 1.103 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.9966, allocations: 57.38 kB / 1.103 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006792/0.9973, allocations: 445.7 kB / 1.103 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.9973, allocations: 2.5 kB / 1.103 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.9974, allocations: 4.75 kB / 1.103 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006329/0.998, allocations: 0.6536 MB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.9997, allocations: 1.207 MB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.9997, allocations: 6.781 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004424/1, allocations: 85.36 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/1, allocations: 2.781 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/1, allocations: 15.05 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003639/1.001, allocations: 0.5903 MB / 1.106 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.001, allocations: 0.7031 kB / 1.106 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009507/1.002, allocations: 0.7401 MB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002568/1.002, allocations: 184.2 kB / 1.107 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.085e-05/1.002, allocations: 6.938 kB / 1.107 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004546/1.002, allocations: 46.56 kB / 1.107 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/1.002, allocations: 23.89 kB / 1.107 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/1.002, allocations: 16.5 kB / 1.107 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004378/1.003, allocations: 361.3 kB / 1.107 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.003, allocations: 2.906 kB / 1.107 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009584/1.004, allocations: 348.8 kB / 1.107 GB, free: 10.38 MB / 0.7136 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.0004634/1.004, allocations: 204 kB / 1.108 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001168/1.006, allocations: 0.5836 MB / 1.108 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.006, allocations: 0 / 1.108 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002846/1.006, allocations: 191.6 kB / 1.108 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/1.008, allocations: 359.3 kB / 1.109 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/1.01, allocations: 1.618 MB / 1.11 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000525/1.011, allocations: 0.9368 MB / 1.111 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/1.011, allocations: 55.38 kB / 1.111 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of SimCode: time 4.81e-07/1.011, allocations: 0 / 1.111 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of Templates: time 0.02085/1.032, allocations: 12.57 MB / 1.124 GB, free: 6.223 MB / 0.7136 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)