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.001593/0.001593, allocations: 106.9 kB / 16.35 MB, free: 5.879 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.001111/0.001111, allocations: 191 kB / 17.29 MB, free: 5.516 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.45/1.45, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.836/1.836, allocations: 292.3 MB / 0.5496 GB, free: 17.47 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.001493/0.001493, allocations: 67.91 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2454, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.6133/0.8588, allocations: 186.8 MB / 0.9672 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.008604/0.8674, allocations: 4.529 MB / 0.9716 GB, free: 10.65 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.8689, allocations: 27.81 kB / 0.9716 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.8704, allocations: 413.5 kB / 0.972 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004383/0.8748, allocations: 1.342 MB / 0.9733 GB, free: 8.867 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002282/0.8771, allocations: 0.752 MB / 0.9741 GB, free: 8.121 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003056/0.8801, allocations: 1.937 MB / 0.976 GB, free: 6.18 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.8812, allocations: 0.656 MB / 0.9766 GB, free: 5.512 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003381/0.8845, allocations: 1.093 MB / 0.9777 GB, free: 4.434 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.8858, allocations: 0.5778 MB / 0.9782 GB, free: 3.855 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.8859, allocations: 64 kB / 0.9783 GB, free: 3.793 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003143/0.8891, allocations: 1.384 MB / 0.9796 GB, free: 2.406 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0003401/0.8894, allocations: 287.2 kB / 0.9799 GB, free: 2.125 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0005853/0.89, allocations: 422.1 kB / 0.9803 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002658/0.8927, allocations: 1.476 MB / 0.9818 GB, free: 236 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.8927, allocations: 0 / 0.9818 GB, free: 236 kB / 0.7637 GB Notification: Performance of FrontEnd: time 3.006e-06/0.8927, allocations: 1.875 kB / 0.9818 GB, free: 236 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.8928, allocations: 0 / 0.9818 GB, free: 236 kB / 0.7637 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.001782/0.8945, allocations: 1.085 MB / 0.9828 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.8946, allocations: 16.03 kB / 0.9828 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/0.8959, allocations: 198.9 kB / 0.983 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009944/0.8969, allocations: 0.5732 MB / 0.9836 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.914e-05/0.897, allocations: 45.31 kB / 0.9836 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.8971, allocations: 55.98 kB / 0.9837 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.8981, allocations: 0.6205 MB / 0.9843 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.8982, allocations: 4 kB / 0.9843 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.091e-05/0.8982, allocations: 20 kB / 0.9843 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.03e-05/0.8983, allocations: 17.31 kB / 0.9843 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007787/0.899, allocations: 0.4931 MB / 0.9848 GB, free: 13 MB / 0.7794 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.003004/0.902, allocations: 2.388 MB / 0.9871 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005462/0.9026, allocations: 354.8 kB / 0.9875 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.9029, allocations: 212 kB / 0.9877 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005658/0.9035, allocations: 311.1 kB / 0.988 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.9035, allocations: 34.56 kB / 0.988 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=36): time 2.204e-06/0.9035, allocations: 0 / 0.988 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36): time 0.001201/0.9047, allocations: 0.5464 MB / 0.9885 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.9048, allocations: 61.69 kB / 0.9886 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005983/0.9054, allocations: 0.4949 MB / 0.9891 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.098e-05/0.9055, allocations: 37.7 kB / 0.9891 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.9057, allocations: 320.5 kB / 0.9894 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.9058, allocations: 126.2 kB / 0.9896 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.906, allocations: 86.03 kB / 0.9896 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.9061, allocations: 358.8 kB / 0.99 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.9064, allocations: 154.5 kB / 0.9901 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/0.9067, allocations: 260.6 kB / 0.9904 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005615/0.9073, allocations: 413.7 kB / 0.9908 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.9073, allocations: 3.938 kB / 0.9908 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007107/0.908, allocations: 484.6 kB / 0.9912 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.9081, allocations: 5.562 kB / 0.9912 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.9081, allocations: 6.125 kB / 0.9912 GB, free: 6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.9081, allocations: 4 kB / 0.9912 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006205/0.9087, allocations: 95.89 kB / 0.9913 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004281/0.9092, allocations: 0.6095 MB / 0.9919 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005116/0.9097, allocations: 43.61 kB / 0.992 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/0.9097, allocations: 12 kB / 0.992 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000451/0.9102, allocations: 328.9 kB / 0.9923 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003155/0.9105, allocations: 264.4 kB / 0.9926 GB, free: 4.594 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005327/0.9111, allocations: 412.5 kB / 0.9929 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.9111, allocations: 0 / 0.9929 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006711/0.9117, allocations: 481.1 kB / 0.9934 GB, free: 3.684 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.9118, allocations: 7.938 kB / 0.9934 GB, free: 3.676 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.9118, allocations: 5.406 kB / 0.9934 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.68e-06/0.9118, allocations: 4 kB / 0.9934 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.9121, allocations: 83.89 kB / 0.9935 GB, free: 3.586 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.9122, allocations: 7.938 kB / 0.9935 GB, free: 3.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004619/0.9126, allocations: 42.62 kB / 0.9935 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.9127, allocations: 24.28 kB / 0.9936 GB, free: 3.516 MB / 0.7794 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.0001773/0.9128, allocations: 200.1 kB / 0.9938 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.9e-05/0.913, allocations: 63.19 kB / 0.9938 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007624/0.9137, allocations: 453.6 kB / 0.9943 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/0.9137, allocations: 4 kB / 0.9943 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.9138, allocations: 0 / 0.9943 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007167/0.9145, allocations: 0.6518 MB / 0.9949 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/0.9163, allocations: 1.204 MB / 0.9961 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.9164, allocations: 0 / 0.9961 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004867/0.9168, allocations: 97.28 kB / 0.9962 GB, free: 0.6797 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.9169, allocations: 4 kB / 0.9962 GB, free: 0.6758 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.9169, allocations: 8 kB / 0.9962 GB, free: 0.668 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003614/0.9173, allocations: 0.5938 MB / 0.9968 GB, free: 52 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.9173, allocations: 11.91 kB / 0.9968 GB, free: 40 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000964/0.9183, allocations: 0.7303 MB / 0.9975 GB, free: 15.27 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002481/0.9185, allocations: 176.3 kB / 0.9976 GB, free: 15.08 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.218e-05/0.9186, allocations: 8.812 kB / 0.9977 GB, free: 15.07 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003654/0.919, allocations: 19.92 kB / 0.9977 GB, free: 15.05 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.086e-05/0.919, allocations: 23.97 kB / 0.9977 GB, free: 15.03 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.591e-05/0.9191, allocations: 16 kB / 0.9977 GB, free: 15.02 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004117/0.9195, allocations: 358.8 kB / 0.9981 GB, free: 14.67 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9195, allocations: 0 / 0.9981 GB, free: 14.67 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001009/0.9205, allocations: 343.1 kB / 0.9984 GB, free: 14.33 MB / 0.795 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.0005599/0.9211, allocations: 198.1 kB / 0.9986 GB, free: 14.14 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001178/0.9223, allocations: 0.6063 MB / 0.9992 GB, free: 13.54 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.9223, allocations: 4 kB / 0.9992 GB, free: 13.54 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002903/0.9226, allocations: 185.1 kB / 0.9993 GB, free: 13.36 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.9242, allocations: 357.5 kB / 0.9997 GB, free: 13.04 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.9262, allocations: 1.312 MB / 1.001 GB, free: 11.69 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005168/0.9267, allocations: 0.9414 MB / 1.002 GB, free: 10.72 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0006111/0.9274, allocations: 205.4 kB / 1.002 GB, free: 10.53 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.9275, allocations: 51.42 kB / 1.002 GB, free: 10.48 MB / 0.795 GB Notification: Performance of SimCode: time 2.204e-06/0.9275, allocations: 0 / 1.002 GB, free: 10.48 MB / 0.795 GB Notification: Performance of Templates: time 0.02169/0.9492, allocations: 11.83 MB / 1.014 GB, free: 14.91 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)