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.001247/0.001247, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001443/0.001443, allocations: 194 kB / 16.25 MB, free: 6.625 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.57/1.57, allocations: 205.1 MB / 222.1 MB, free: 4.676 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.741/1.741, allocations: 292.2 MB / 0.5485 GB, free: 13.67 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.001553/0.001553, allocations: 71.67 kB / 0.671 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3177, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.7942/1.112, allocations: 184.4 MB / 0.9629 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008756/1.121, allocations: 4.496 MB / 0.9673 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0013/1.122, allocations: 30.25 kB / 0.9673 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00135/1.124, allocations: 366.5 kB / 0.9677 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003812/1.127, allocations: 1.256 MB / 0.9689 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002153/1.13, allocations: 0.6769 MB / 0.9695 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002722/1.132, allocations: 1.949 MB / 0.9714 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009112/1.133, allocations: 0.6342 MB / 0.9721 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003686/1.137, allocations: 1.073 MB / 0.9731 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/1.138, allocations: 0.6219 MB / 0.9737 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000114/1.138, allocations: 64 kB / 0.9738 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003113/1.141, allocations: 1.429 MB / 0.9752 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003123/1.142, allocations: 294.8 kB / 0.9755 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005075/1.142, allocations: 417.5 kB / 0.9759 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002439/1.145, allocations: 1.541 MB / 0.9774 GB, free: 5 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/1.145, allocations: 2.625 kB / 0.9774 GB, free: 5 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.833e-06/1.145, allocations: 0 / 0.9774 GB, free: 5 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.22e-05/1.145, allocations: 0 / 0.9774 GB, free: 5 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.001922/1.147, allocations: 1.096 MB / 0.9784 GB, free: 20.34 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/1.147, allocations: 9.312 kB / 0.9784 GB, free: 20.34 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/1.148, allocations: 198.1 kB / 0.9786 GB, free: 20.3 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008881/1.149, allocations: 0.5734 MB / 0.9792 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/1.149, allocations: 44.62 kB / 0.9792 GB, free: 20.01 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.055e-05/1.149, allocations: 55.25 kB / 0.9793 GB, free: 20.01 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009973/1.15, allocations: 0.6165 MB / 0.9799 GB, free: 19.94 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/1.15, allocations: 5.375 kB / 0.9799 GB, free: 19.93 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.478e-05/1.15, allocations: 22.84 kB / 0.9799 GB, free: 19.93 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.583e-05/1.15, allocations: 21.19 kB / 0.9799 GB, free: 19.93 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007611/1.151, allocations: 499.2 kB / 0.9804 GB, free: 19.93 MB / 0.7481 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.002772/1.154, allocations: 2.387 MB / 0.9827 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005477/1.154, allocations: 359.9 kB / 0.9831 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/1.155, allocations: 219 kB / 0.9833 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005609/1.155, allocations: 308.3 kB / 0.9836 GB, free: 18.29 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/1.155, allocations: 41.08 kB / 0.9836 GB, free: 18.25 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=36): time 1.753e-06/1.155, allocations: 0 / 0.9836 GB, free: 18.25 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36): time 0.001179/1.156, allocations: 0.5407 MB / 0.9842 GB, free: 18.18 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/1.157, allocations: 55.44 kB / 0.9842 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006609/1.157, allocations: 0.5043 MB / 0.9847 GB, free: 17.99 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.169e-05/1.157, allocations: 35.3 kB / 0.9847 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/1.158, allocations: 316 kB / 0.985 GB, free: 17.8 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/1.158, allocations: 123.4 kB / 0.9852 GB, free: 17.72 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/1.158, allocations: 90.58 kB / 0.9852 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001797/1.158, allocations: 360.4 kB / 0.9856 GB, free: 17.39 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/1.158, allocations: 153.2 kB / 0.9857 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/1.159, allocations: 273 kB / 0.986 GB, free: 17.26 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005338/1.159, allocations: 412 kB / 0.9864 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.159, allocations: 0 / 0.9864 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006764/1.16, allocations: 482.2 kB / 0.9868 GB, free: 17.1 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/1.16, allocations: 5.406 kB / 0.9868 GB, free: 17.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/1.16, allocations: 5.312 kB / 0.9869 GB, free: 17.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/1.16, allocations: 4.844 kB / 0.9869 GB, free: 17.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005878/1.16, allocations: 104.6 kB / 0.987 GB, free: 17.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004158/1.161, allocations: 0.5964 MB / 0.9875 GB, free: 16.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006397/1.162, allocations: 73.42 kB / 0.9876 GB, free: 16.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/1.162, allocations: 19.03 kB / 0.9876 GB, free: 16.48 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004192/1.162, allocations: 324.9 kB / 0.9879 GB, free: 16.39 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003064/1.162, allocations: 263.3 kB / 0.9882 GB, free: 16.28 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005222/1.163, allocations: 406.1 kB / 0.9886 GB, free: 16.19 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.555e-06/1.163, allocations: 3.5 kB / 0.9886 GB, free: 16.19 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.000655/1.164, allocations: 475.6 kB / 0.989 GB, free: 16.12 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/1.164, allocations: 14.03 kB / 0.989 GB, free: 16.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/1.164, allocations: 3.938 kB / 0.989 GB, free: 16.12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.378e-06/1.164, allocations: 2.656 kB / 0.9891 GB, free: 16.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/1.164, allocations: 91.02 kB / 0.9891 GB, free: 16.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/1.164, allocations: 3.219 kB / 0.9891 GB, free: 16.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005554/1.164, allocations: 61.31 kB / 0.9892 GB, free: 16.1 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/1.165, allocations: 15.47 kB / 0.9892 GB, free: 16.1 MB / 0.7481 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.0001906/1.165, allocations: 207.2 kB / 0.9894 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-05/1.165, allocations: 58.47 kB / 0.9895 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006621/1.165, allocations: 454.9 kB / 0.9899 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/1.165, allocations: 2.844 kB / 0.9899 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.166, allocations: 0 / 0.9899 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005987/1.166, allocations: 0.6594 MB / 0.9905 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/1.168, allocations: 1.198 MB / 0.9917 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/1.168, allocations: 3.562 kB / 0.9917 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004421/1.168, allocations: 92.7 kB / 0.9918 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/1.168, allocations: 7.312 kB / 0.9918 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/1.168, allocations: 12.34 kB / 0.9918 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003181/1.168, allocations: 0.5945 MB / 0.9924 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.168, allocations: 7.578 kB / 0.9924 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000786/1.169, allocations: 0.7383 MB / 0.9931 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002255/1.17, allocations: 179.1 kB / 0.9933 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.485e-05/1.17, allocations: 13.78 kB / 0.9933 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004335/1.17, allocations: 45.69 kB / 0.9934 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/1.17, allocations: 22.41 kB / 0.9934 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/1.17, allocations: 17.56 kB / 0.9934 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003703/1.17, allocations: 355 kB / 0.9937 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/1.171, allocations: 0 / 0.9937 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009695/1.171, allocations: 347.1 kB / 0.9941 GB, free: 13.05 MB / 0.7481 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.0004752/1.172, allocations: 192.7 kB / 0.9943 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00121/1.173, allocations: 0.6328 MB / 0.9949 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/1.173, allocations: 3.562 kB / 0.9949 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002875/1.173, allocations: 182.1 kB / 0.9951 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/1.175, allocations: 378.4 kB / 0.9954 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/1.177, allocations: 1.558 MB / 0.9969 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004776/1.178, allocations: 0.9502 MB / 0.9979 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006672/1.178, allocations: 202.4 kB / 0.9981 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/1.178, allocations: 52.19 kB / 0.9981 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of SimCode: time 1.784e-06/1.178, allocations: 0 / 0.9981 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of Templates: time 0.02489/1.203, allocations: 11.78 MB / 1.01 GB, free: 7.332 MB / 0.7481 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)