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.001974/0.001974, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002523/0.002523, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.568/1.568, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.789/1.789, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001478/0.001478, allocations: 69.88 kB / 0.6715 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2797, allocations: 114.6 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.7806/1.06, allocations: 186.8 MB / 0.9658 GB, free: 232 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009416/1.07, allocations: 4.54 MB / 0.9702 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002267/1.072, allocations: 30.12 kB / 0.9702 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001791/1.074, allocations: 412.8 kB / 0.9706 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005365/1.079, allocations: 1.338 MB / 0.9719 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002959/1.082, allocations: 0.7463 MB / 0.9727 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004445/1.087, allocations: 1.945 MB / 0.9746 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/1.088, allocations: 0.6445 MB / 0.9752 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004339/1.093, allocations: 1.082 MB / 0.9762 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001475/1.094, allocations: 0.5802 MB / 0.9768 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001391/1.094, allocations: 65.28 kB / 0.9769 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003758/1.098, allocations: 1.385 MB / 0.9782 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000486/1.098, allocations: 284.2 kB / 0.9785 GB, free: 14 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006887/1.099, allocations: 417.8 kB / 0.9789 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003214/1.102, allocations: 1.463 MB / 0.9803 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/1.102, allocations: 0 / 0.9803 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/1.102, allocations: 0 / 0.9803 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.415e-05/1.102, allocations: 2.625 kB / 0.9803 GB, free: 13.23 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.001955/1.104, allocations: 1.1 MB / 0.9814 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/1.104, allocations: 7.531 kB / 0.9814 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/1.106, allocations: 195.4 kB / 0.9816 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009286/1.107, allocations: 0.5793 MB / 0.9822 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.719e-05/1.107, allocations: 43.64 kB / 0.9822 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.615e-05/1.107, allocations: 56.75 kB / 0.9822 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/1.108, allocations: 0.62 MB / 0.9829 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/1.108, allocations: 3.938 kB / 0.9829 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.546e-05/1.108, allocations: 21.06 kB / 0.9829 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.678e-05/1.108, allocations: 21.16 kB / 0.9829 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008661/1.109, allocations: 0.4907 MB / 0.9834 GB, free: 11.12 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.003192/1.112, allocations: 2.407 MB / 0.9857 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005635/1.113, allocations: 356.1 kB / 0.9861 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/1.113, allocations: 220.6 kB / 0.9863 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005845/1.114, allocations: 302.9 kB / 0.9866 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.569e-05/1.114, allocations: 46.36 kB / 0.9866 GB, free: 8.387 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 2.595e-06/1.114, allocations: 0 / 0.9866 GB, free: 8.387 MB / 0.7325 GB Notification: Performance of matching and sorting (n=36): time 0.001202/1.115, allocations: 0.5424 MB / 0.9871 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/1.115, allocations: 56.56 kB / 0.9872 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006687/1.116, allocations: 0.5012 MB / 0.9877 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.512e-05/1.116, allocations: 32.3 kB / 0.9877 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/1.116, allocations: 324 kB / 0.988 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/1.116, allocations: 120.6 kB / 0.9881 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/1.116, allocations: 87.41 kB / 0.9882 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001691/1.116, allocations: 363.4 kB / 0.9886 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/1.117, allocations: 155.2 kB / 0.9887 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/1.117, allocations: 266.8 kB / 0.989 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005855/1.118, allocations: 416 kB / 0.9894 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.118, allocations: 3.156 kB / 0.9894 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007028/1.118, allocations: 473.2 kB / 0.9898 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/1.118, allocations: 4.719 kB / 0.9898 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/1.118, allocations: 6.031 kB / 0.9898 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/1.118, allocations: 5.375 kB / 0.9898 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006178/1.119, allocations: 105.5 kB / 0.9899 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003846/1.119, allocations: 0.5997 MB / 0.9905 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000502/1.12, allocations: 44.17 kB / 0.9906 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/1.12, allocations: 16.91 kB / 0.9906 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004573/1.12, allocations: 330.7 kB / 0.9909 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003047/1.121, allocations: 261.4 kB / 0.9911 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005117/1.121, allocations: 406.9 kB / 0.9915 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.474e-06/1.121, allocations: 3.219 kB / 0.9915 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006818/1.122, allocations: 482.5 kB / 0.992 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/1.122, allocations: 11.44 kB / 0.992 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/1.122, allocations: 1.938 kB / 0.992 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-06/1.122, allocations: 2.719 kB / 0.992 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/1.122, allocations: 86.41 kB / 0.9921 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/1.122, allocations: 6.719 kB / 0.9921 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004781/1.123, allocations: 35.89 kB / 0.9921 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/1.123, allocations: 23.12 kB / 0.9922 GB, free: 4.473 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.0001801/1.123, allocations: 212.5 kB / 0.9924 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/1.123, allocations: 58.53 kB / 0.9924 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007344/1.124, allocations: 441.3 kB / 0.9928 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/1.124, allocations: 8.656 kB / 0.9928 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/1.124, allocations: 0 / 0.9928 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006305/1.125, allocations: 0.6572 MB / 0.9935 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/1.126, allocations: 1.199 MB / 0.9947 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/1.126, allocations: 2.938 kB / 0.9947 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004897/1.127, allocations: 96.41 kB / 0.9948 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/1.127, allocations: 10.47 kB / 0.9948 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/1.127, allocations: 9.219 kB / 0.9948 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003546/1.127, allocations: 0.5917 MB / 0.9954 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.127, allocations: 0 / 0.9954 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009675/1.128, allocations: 0.7402 MB / 0.9961 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002468/1.129, allocations: 181.1 kB / 0.9962 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.495e-05/1.129, allocations: 6.469 kB / 0.9963 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/1.129, allocations: 16.66 kB / 0.9963 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/1.129, allocations: 28.22 kB / 0.9963 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/1.129, allocations: 18.05 kB / 0.9963 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004198/1.13, allocations: 353.2 kB / 0.9966 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/1.13, allocations: 0 / 0.9966 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009922/1.131, allocations: 345.6 kB / 0.997 GB, free: 0.9141 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.0005013/1.131, allocations: 195.6 kB / 0.9972 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001232/1.132, allocations: 0.6279 MB / 0.9978 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.132, allocations: 2.75 kB / 0.9978 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003109/1.133, allocations: 193.1 kB / 0.998 GB, free: 424 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/1.134, allocations: 369.6 kB / 0.9983 GB, free: 228 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/1.137, allocations: 1.328 MB / 0.9996 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005353/1.137, allocations: 0.9507 MB / 1.001 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006783/1.138, allocations: 202.1 kB / 1.001 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/1.138, allocations: 51.36 kB / 1.001 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of SimCode: time 4.61e-07/1.138, allocations: 0 / 1.001 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of Templates: time 0.0226/1.161, allocations: 11.83 MB / 1.012 GB, free: 8.641 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)