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.001572/0.001572, allocations: 109.4 kB / 15.69 MB, free: 128 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.00226/0.002259, allocations: 188.4 kB / 16.62 MB, free: 6.609 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.599/1.599, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.945/1.945, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001451/0.001451, allocations: 71.84 kB / 0.6722 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2852, allocations: 114.6 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.7825/1.068, allocations: 186.8 MB / 0.9665 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008408/1.076, allocations: 4.529 MB / 0.9709 GB, free: 108 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001548/1.078, allocations: 30.03 kB / 0.971 GB, free: 96 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001393/1.079, allocations: 414.9 kB / 0.9714 GB, free: 0 / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004324/1.084, allocations: 1.337 MB / 0.9727 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002475/1.086, allocations: 0.7524 MB / 0.9734 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003188/1.089, allocations: 1.958 MB / 0.9753 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/1.09, allocations: 0.6533 MB / 0.976 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003629/1.094, allocations: 1.069 MB / 0.977 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/1.095, allocations: 0.5906 MB / 0.9776 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001169/1.096, allocations: 65.28 kB / 0.9776 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003392/1.099, allocations: 1.392 MB / 0.979 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003585/1.099, allocations: 282.9 kB / 0.9793 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000631/1.1, allocations: 420.2 kB / 0.9797 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00283/1.103, allocations: 1.473 MB / 0.9811 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/1.103, allocations: 0 / 0.9811 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.424e-06/1.103, allocations: 0 / 0.9811 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.876e-05/1.103, allocations: 0 / 0.9811 GB, free: 13.32 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.001894/1.105, allocations: 1.1 MB / 0.9822 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/1.105, allocations: 12.22 kB / 0.9822 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/1.106, allocations: 203.9 kB / 0.9824 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/1.107, allocations: 0.6004 MB / 0.983 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.837e-05/1.107, allocations: 43.5 kB / 0.983 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.471e-05/1.107, allocations: 55.66 kB / 0.9831 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009561/1.108, allocations: 0.6246 MB / 0.9837 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/1.108, allocations: 3.938 kB / 0.9837 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.451e-05/1.108, allocations: 22.22 kB / 0.9837 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.018e-05/1.108, allocations: 16 kB / 0.9837 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007562/1.109, allocations: 499.7 kB / 0.9842 GB, free: 11.2 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.003011/1.112, allocations: 2.395 MB / 0.9865 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005838/1.113, allocations: 362.7 kB / 0.9869 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002791/1.113, allocations: 208.4 kB / 0.9871 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005508/1.114, allocations: 304.6 kB / 0.9874 GB, free: 8.523 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/1.114, allocations: 44.86 kB / 0.9874 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 3.586e-06/1.114, allocations: 3.984 kB / 0.9874 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of matching and sorting (n=36): time 0.001093/1.115, allocations: 0.5419 MB / 0.9879 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/1.115, allocations: 54.44 kB / 0.988 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005372/1.115, allocations: 0.4974 MB / 0.9885 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.187e-05/1.116, allocations: 32.23 kB / 0.9885 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/1.116, allocations: 323.8 kB / 0.9888 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/1.116, allocations: 132.2 kB / 0.9889 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/1.116, allocations: 85.28 kB / 0.989 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.116, allocations: 367.3 kB / 0.9894 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/1.116, allocations: 153.9 kB / 0.9895 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/1.117, allocations: 260.2 kB / 0.9898 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005181/1.117, allocations: 406.3 kB / 0.9902 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/1.117, allocations: 1.844 kB / 0.9902 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006986/1.118, allocations: 490.6 kB / 0.9906 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/1.118, allocations: 7.844 kB / 0.9906 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/1.118, allocations: 2.344 kB / 0.9906 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/1.118, allocations: 2.875 kB / 0.9906 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005679/1.119, allocations: 101.3 kB / 0.9907 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004162/1.119, allocations: 0.604 MB / 0.9913 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004866/1.12, allocations: 40.11 kB / 0.9914 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/1.12, allocations: 19.06 kB / 0.9914 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004311/1.12, allocations: 328.2 kB / 0.9917 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003068/1.12, allocations: 261.4 kB / 0.9919 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005086/1.121, allocations: 403.6 kB / 0.9923 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.215e-06/1.121, allocations: 6.938 kB / 0.9923 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006775/1.122, allocations: 477.3 kB / 0.9928 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/1.122, allocations: 12.84 kB / 0.9928 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/1.122, allocations: 1.875 kB / 0.9928 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.611e-06/1.122, allocations: 5.531 kB / 0.9928 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003183/1.122, allocations: 87.42 kB / 0.9929 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/1.122, allocations: 9.031 kB / 0.9929 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004429/1.122, allocations: 40.02 kB / 0.9929 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/1.122, allocations: 19.16 kB / 0.993 GB, free: 4.555 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.0001599/1.123, allocations: 204.2 kB / 0.9932 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.18e-05/1.123, allocations: 58.69 kB / 0.9932 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007251/1.123, allocations: 443.1 kB / 0.9936 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/1.123, allocations: 4.562 kB / 0.9936 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.123, allocations: 0 / 0.9936 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000587/1.124, allocations: 0.6494 MB / 0.9943 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/1.126, allocations: 1.215 MB / 0.9955 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/1.126, allocations: 0 / 0.9955 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004403/1.126, allocations: 92.2 kB / 0.9955 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/1.126, allocations: 9.938 kB / 0.9956 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/1.126, allocations: 10.31 kB / 0.9956 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003393/1.127, allocations: 0.5891 MB / 0.9961 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/1.127, allocations: 6.656 kB / 0.9962 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008796/1.127, allocations: 0.7338 MB / 0.9969 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/1.128, allocations: 180.8 kB / 0.997 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.253e-05/1.128, allocations: 8.844 kB / 0.997 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003506/1.128, allocations: 17.27 kB / 0.9971 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/1.128, allocations: 27.97 kB / 0.9971 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/1.128, allocations: 14.19 kB / 0.9971 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003919/1.129, allocations: 357 kB / 0.9974 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/1.129, allocations: 0 / 0.9974 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000954/1.13, allocations: 343.3 kB / 0.9978 GB, free: 1.004 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.0004879/1.13, allocations: 195.2 kB / 0.998 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001159/1.131, allocations: 0.6032 MB / 0.9985 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.131, allocations: 0 / 0.9985 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003038/1.132, allocations: 183.7 kB / 0.9987 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/1.133, allocations: 366.5 kB / 0.9991 GB, free: 332 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/1.135, allocations: 1.316 MB / 1 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005712/1.136, allocations: 0.9509 MB / 1.001 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000642/1.137, allocations: 205.5 kB / 1.001 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/1.137, allocations: 56.05 kB / 1.002 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of SimCode: time 7.81e-07/1.137, allocations: 0 / 1.002 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of Templates: time 0.02398/1.161, allocations: 11.82 MB / 1.013 GB, free: 8.75 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)