Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001291/0.001291, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.001517/0.001517, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.663/1.663, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.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.0006094/0.0006095, allocations: 21.78 kB / 0.6735 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2289, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.6512/0.8802, allocations: 155.3 MB / 0.9388 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007256/0.8875, allocations: 4.417 MB / 0.9431 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.8888, allocations: 21.28 kB / 0.9431 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00162/0.8905, allocations: 430.9 kB / 0.9435 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004757/0.8952, allocations: 1.223 MB / 0.9447 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00314/0.8984, allocations: 0.8427 MB / 0.9456 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00276/0.9012, allocations: 1.117 MB / 0.9466 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009216/0.9021, allocations: 0.4957 MB / 0.9471 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001748/0.9038, allocations: 0.7308 MB / 0.9478 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006397/0.9045, allocations: 369 kB / 0.9482 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.097e-05/0.9046, allocations: 28.28 kB / 0.9482 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002105/0.9067, allocations: 0.6843 MB / 0.9489 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002884/0.907, allocations: 223.2 kB / 0.9491 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005337/0.9075, allocations: 171.8 kB / 0.9493 GB, free: 21.4 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.9087, allocations: 0.9233 MB / 0.9502 GB, free: 21.33 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.9087, allocations: 3.156 kB / 0.9502 GB, free: 21.33 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9087, allocations: 0 / 0.9502 GB, free: 21.33 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.9087, allocations: 0 / 0.9502 GB, free: 21.33 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001412/0.9102, allocations: 0.9267 MB / 0.9511 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.9102, allocations: 13.5 kB / 0.9511 GB, free: 20.7 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.9114, allocations: 204.4 kB / 0.9513 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000933/0.9124, allocations: 0.5601 MB / 0.9518 GB, free: 20.4 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.64e-05/0.9124, allocations: 45.38 kB / 0.9519 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.92e-05/0.9125, allocations: 52.09 kB / 0.9519 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008783/0.9134, allocations: 0.6091 MB / 0.9525 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.9134, allocations: 4.609 kB / 0.9525 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.717e-05/0.9135, allocations: 20.44 kB / 0.9525 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.333e-05/0.9135, allocations: 24.19 kB / 0.9526 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007036/0.9142, allocations: 496.6 kB / 0.953 GB, free: 20.31 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.002564/0.9168, allocations: 2.39 MB / 0.9554 GB, free: 19 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004823/0.9173, allocations: 359.9 kB / 0.9557 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003584/0.9177, allocations: 147.3 kB / 0.9559 GB, free: 18.87 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.9177, allocations: 36.81 kB / 0.9559 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 1.763e-06/0.9177, allocations: 0 / 0.9559 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of matching and sorting (n=36): time 0.001015/0.9187, allocations: 0.5448 MB / 0.9564 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.9188, allocations: 58.69 kB / 0.9565 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005071/0.9193, allocations: 496.8 kB / 0.957 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/0.9193, allocations: 35.95 kB / 0.957 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.9195, allocations: 314 kB / 0.9573 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.488e-05/0.9196, allocations: 134 kB / 0.9574 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.946e-05/0.9196, allocations: 8.562 kB / 0.9574 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.9198, allocations: 364.9 kB / 0.9578 GB, free: 18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.92, allocations: 143.5 kB / 0.9579 GB, free: 18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.9203, allocations: 263.1 kB / 0.9582 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/0.9205, allocations: 184.3 kB / 0.9583 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.9206, allocations: 1 kB / 0.9583 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000681/0.9212, allocations: 483.5 kB / 0.9588 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002843/0.9215, allocations: 0.8842 MB / 0.9597 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.9215, allocations: 2.469 kB / 0.9597 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.9216, allocations: 4.156 kB / 0.9597 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005624/0.9221, allocations: 105.1 kB / 0.9598 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004527/0.9226, allocations: 0.5901 MB / 0.9603 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006161/0.9232, allocations: 75.91 kB / 0.9604 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.9233, allocations: 20.7 kB / 0.9604 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.564e-06/0.9233, allocations: 3.125 kB / 0.9604 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005501/0.9239, allocations: 405.5 kB / 0.9608 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.9239, allocations: 4.672 kB / 0.9608 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/0.9239, allocations: 4.375 kB / 0.9608 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003321/0.9242, allocations: 87.59 kB / 0.9609 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.9242, allocations: 7.188 kB / 0.9609 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005203/0.9248, allocations: 62.17 kB / 0.961 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.9248, allocations: 17.44 kB / 0.961 GB, free: 16.24 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 (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.0003645/0.9252, allocations: 313.2 kB / 0.9613 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.044e-05/0.9253, allocations: 62.73 kB / 0.9614 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006274/0.9259, allocations: 443.9 kB / 0.9618 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.9259, allocations: 2.75 kB / 0.9618 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.9259, allocations: 3.25 kB / 0.9618 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005426/0.9265, allocations: 0.6496 MB / 0.9624 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.9281, allocations: 1.201 MB / 0.9636 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.9281, allocations: 5.594 kB / 0.9636 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004803/0.9286, allocations: 93.23 kB / 0.9637 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.9286, allocations: 5.828 kB / 0.9637 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.9286, allocations: 15.09 kB / 0.9637 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002872/0.9289, allocations: 0.5923 MB / 0.9643 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.9289, allocations: 8.719 kB / 0.9643 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007921/0.9297, allocations: 0.8167 MB / 0.9651 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002417/0.93, allocations: 178.9 kB / 0.9653 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.263e-05/0.9301, allocations: 8.938 kB / 0.9653 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004217/0.9305, allocations: 45.38 kB / 0.9653 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.9305, allocations: 28.7 kB / 0.9653 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.9306, allocations: 14.06 kB / 0.9654 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003783/0.931, allocations: 352.3 kB / 0.9657 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.41e-07/0.931, allocations: 0 / 0.9657 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009544/0.9319, allocations: 347.2 kB / 0.966 GB, free: 13.91 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 (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.0003857/0.9323, allocations: 177.6 kB / 0.9662 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009957/0.9333, allocations: 0.5867 MB / 0.9668 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.748e-06/0.9333, allocations: 0 / 0.9668 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.9336, allocations: 187.4 kB / 0.9669 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.9351, allocations: 356.7 kB / 0.9673 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.9369, allocations: 1.671 MB / 0.9689 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/0.9374, allocations: 0.9559 MB / 0.9698 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000606/0.938, allocations: 200.6 kB / 0.97 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.9381, allocations: 46.66 kB / 0.9701 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of SimCode: time 4.81e-07/0.9381, allocations: 0 / 0.9701 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.01572/0.9539, allocations: 11.07 MB / 0.9809 GB, free: 7.992 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) Environment - environmentSimulation: