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.001042/0.001042, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001388/0.001389, allocations: 197.7 kB / 16.14 MB, free: 6.711 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.507/1.507, allocations: 205.1 MB / 222 MB, free: 4.746 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.745/1.745, allocations: 292.2 MB / 0.5484 GB, free: 13.65 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.001365/0.001365, allocations: 72.56 kB / 0.6708 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2703, allocations: 114.5 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.778/1.048, allocations: 184.6 MB / 0.9629 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01085/1.059, allocations: 4.594 MB / 0.9674 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001705/1.061, allocations: 26.97 kB / 0.9674 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001408/1.062, allocations: 351.1 kB / 0.9677 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00476/1.067, allocations: 1.258 MB / 0.969 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002704/1.07, allocations: 0.6642 MB / 0.9696 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00418/1.074, allocations: 2.737 MB / 0.9723 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/1.075, allocations: 0.5477 MB / 0.9728 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003964/1.079, allocations: 0.9664 MB / 0.9738 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/1.081, allocations: 0.6164 MB / 0.9744 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001138/1.081, allocations: 39.16 kB / 0.9744 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003886/1.085, allocations: 1.553 MB / 0.9759 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000427/1.085, allocations: 261 kB / 0.9762 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006666/1.086, allocations: 380 kB / 0.9765 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002882/1.089, allocations: 1.516 MB / 0.978 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/1.089, allocations: 0 / 0.978 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.72e-07/1.089, allocations: 0 / 0.978 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.06e-05/1.089, allocations: 0 / 0.978 GB, free: 4.676 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.0024/1.091, allocations: 1.098 MB / 0.9791 GB, free: 20.01 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/1.091, allocations: 8.594 kB / 0.9791 GB, free: 20.01 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001441/1.093, allocations: 200.7 kB / 0.9793 GB, free: 19.97 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/1.094, allocations: 0.5681 MB / 0.9798 GB, free: 19.7 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.115e-05/1.094, allocations: 42.44 kB / 0.9799 GB, free: 19.69 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/1.094, allocations: 54.41 kB / 0.9799 GB, free: 19.69 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/1.095, allocations: 0.6177 MB / 0.9805 GB, free: 19.62 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/1.095, allocations: 3.938 kB / 0.9805 GB, free: 19.61 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.331e-05/1.095, allocations: 35.16 kB / 0.9806 GB, free: 19.6 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-05/1.095, allocations: 18.22 kB / 0.9806 GB, free: 19.6 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008011/1.096, allocations: 499.9 kB / 0.9811 GB, free: 19.59 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.003014/1.099, allocations: 2.39 MB / 0.9834 GB, free: 18.29 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005626/1.1, allocations: 352.5 kB / 0.9837 GB, free: 18.26 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/1.1, allocations: 210.1 kB / 0.9839 GB, free: 18.25 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006144/1.101, allocations: 305.5 kB / 0.9842 GB, free: 17.97 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/1.101, allocations: 48.03 kB / 0.9843 GB, free: 17.92 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=36): time 2.434e-06/1.101, allocations: 0 / 0.9843 GB, free: 17.92 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36): time 0.001192/1.102, allocations: 0.5415 MB / 0.9848 GB, free: 17.86 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/1.102, allocations: 57.12 kB / 0.9849 GB, free: 17.79 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005393/1.102, allocations: 0.4987 MB / 0.9853 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/1.103, allocations: 34.55 kB / 0.9854 GB, free: 17.63 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/1.103, allocations: 319.5 kB / 0.9857 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/1.103, allocations: 129.8 kB / 0.9858 GB, free: 17.4 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/1.103, allocations: 84.3 kB / 0.9859 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001882/1.103, allocations: 366.2 kB / 0.9862 GB, free: 17.07 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/1.103, allocations: 153.5 kB / 0.9864 GB, free: 17.06 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/1.104, allocations: 265.7 kB / 0.9866 GB, free: 16.94 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004955/1.104, allocations: 417.7 kB / 0.987 GB, free: 16.84 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.104, allocations: 0 / 0.987 GB, free: 16.84 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006939/1.105, allocations: 473.2 kB / 0.9875 GB, free: 16.78 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/1.105, allocations: 10.94 kB / 0.9875 GB, free: 16.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/1.105, allocations: 2.969 kB / 0.9875 GB, free: 16.78 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/1.105, allocations: 6.594 kB / 0.9875 GB, free: 16.78 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006171/1.106, allocations: 100.3 kB / 0.9876 GB, free: 16.78 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004166/1.106, allocations: 0.5993 MB / 0.9882 GB, free: 16.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006995/1.107, allocations: 69.55 kB / 0.9883 GB, free: 16.16 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.385e-05/1.107, allocations: 16.56 kB / 0.9883 GB, free: 16.16 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005505/1.107, allocations: 328.8 kB / 0.9886 GB, free: 16.08 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003421/1.108, allocations: 260.9 kB / 0.9888 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006813/1.108, allocations: 405.5 kB / 0.9892 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-06/1.108, allocations: 160 / 0.9892 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0008502/1.109, allocations: 485.7 kB / 0.9897 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/1.109, allocations: 11.8 kB / 0.9897 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/1.109, allocations: 2.031 kB / 0.9897 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.581e-06/1.109, allocations: 3.219 kB / 0.9897 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/1.11, allocations: 86.58 kB / 0.9898 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/1.11, allocations: 5.406 kB / 0.9898 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006603/1.11, allocations: 59.14 kB / 0.9898 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/1.11, allocations: 20.72 kB / 0.9899 GB, free: 15.78 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.0002172/1.111, allocations: 219.4 kB / 0.9901 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.53e-05/1.111, allocations: 58.5 kB / 0.9901 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007825/1.112, allocations: 443.6 kB / 0.9906 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/1.112, allocations: 3.406 kB / 0.9906 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.112, allocations: 0 / 0.9906 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006601/1.112, allocations: 0.6537 MB / 0.9912 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/1.114, allocations: 1.205 MB / 0.9924 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.114, allocations: 3.344 kB / 0.9924 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004633/1.115, allocations: 91.48 kB / 0.9925 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/1.115, allocations: 3.594 kB / 0.9925 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/1.115, allocations: 21.09 kB / 0.9925 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003243/1.115, allocations: 0.5904 MB / 0.9931 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.115, allocations: 3.25 kB / 0.9931 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008611/1.116, allocations: 0.736 MB / 0.9938 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002861/1.116, allocations: 181.1 kB / 0.994 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.562e-05/1.116, allocations: 8.906 kB / 0.994 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004578/1.117, allocations: 45.95 kB / 0.994 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.891e-05/1.117, allocations: 26.31 kB / 0.994 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/1.117, allocations: 21.62 kB / 0.9941 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004094/1.117, allocations: 358.9 kB / 0.9944 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/1.117, allocations: 0 / 0.9944 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009978/1.118, allocations: 342.8 kB / 0.9947 GB, free: 12.83 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.000501/1.119, allocations: 191.9 kB / 0.9949 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001136/1.12, allocations: 0.5945 MB / 0.9955 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.12, allocations: 320 / 0.9955 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003049/1.12, allocations: 190 kB / 0.9957 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/1.122, allocations: 354.9 kB / 0.996 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/1.124, allocations: 1.575 MB / 0.9975 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/1.125, allocations: 0.9483 MB / 0.9985 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006906/1.125, allocations: 200.8 kB / 0.9987 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/1.125, allocations: 47.83 kB / 0.9987 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of SimCode: time 1.192e-06/1.125, allocations: 2.094 kB / 0.9987 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of Templates: time 0.02078/1.146, allocations: 11.46 MB / 1.01 GB, free: 6.34 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)