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.001209/0.001209, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008164/0.008164, allocations: 169 kB / 16.26 MB, free: 6.652 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.527/1.527, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.721/1.721, allocations: 292.7 MB / 0.5502 GB, free: 14.43 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.0006148/0.0006148, allocations: 16.69 kB / 0.6743 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.2999, allocations: 116.3 MB / 0.7879 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.797/1.097, allocations: 182.1 MB / 0.9657 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01051/1.108, allocations: 4.549 MB / 0.9702 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002146/1.11, allocations: 20.88 kB / 0.9702 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001937/1.112, allocations: 343.6 kB / 0.9705 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004854/1.117, allocations: 1.261 MB / 0.9717 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002734/1.119, allocations: 0.675 MB / 0.9724 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00401/1.123, allocations: 2.741 MB / 0.9751 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/1.125, allocations: 0.5305 MB / 0.9756 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003967/1.129, allocations: 0.9447 MB / 0.9765 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001696/1.13, allocations: 0.6026 MB / 0.9771 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002403/1.131, allocations: 28.88 kB / 0.9771 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003978/1.135, allocations: 1.542 MB / 0.9786 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006057/1.135, allocations: 248.8 kB / 0.9789 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001114/1.136, allocations: 395 kB / 0.9793 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003158/1.139, allocations: 1.498 MB / 0.9807 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/1.139, allocations: 0 / 0.9807 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.964e-06/1.14, allocations: 0 / 0.9807 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.95e-05/1.14, allocations: 0 / 0.9807 GB, free: 12.7 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.002289/1.142, allocations: 0.9524 MB / 0.9816 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/1.142, allocations: 8.719 kB / 0.9817 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/1.143, allocations: 203 kB / 0.9818 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/1.145, allocations: 0.5718 MB / 0.9824 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.08e-05/1.145, allocations: 45.5 kB / 0.9824 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/1.145, allocations: 57.53 kB / 0.9825 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/1.146, allocations: 0.619 MB / 0.9831 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/1.146, allocations: 3.938 kB / 0.9831 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.509e-05/1.146, allocations: 24.28 kB / 0.9831 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-05/1.146, allocations: 19.78 kB / 0.9832 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008567/1.147, allocations: 499.8 kB / 0.9836 GB, free: 11.23 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.003673/1.151, allocations: 2.385 MB / 0.986 GB, free: 9.324 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005648/1.151, allocations: 357.8 kB / 0.9863 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/1.152, allocations: 212.5 kB / 0.9865 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005983/1.152, allocations: 324.1 kB / 0.9868 GB, free: 8.719 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/1.152, allocations: 36.84 kB / 0.9868 GB, free: 8.676 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 3.066e-06/1.152, allocations: 0 / 0.9868 GB, free: 8.676 MB / 0.7325 GB Notification: Performance of matching and sorting (n=36): time 0.001286/1.153, allocations: 0.542 MB / 0.9874 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/1.154, allocations: 56.53 kB / 0.9874 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006514/1.154, allocations: 0.5009 MB / 0.9879 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.642e-05/1.154, allocations: 32.48 kB / 0.988 GB, free: 8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/1.155, allocations: 318.5 kB / 0.9883 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/1.155, allocations: 134.2 kB / 0.9884 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.186e-05/1.155, allocations: 36.58 kB / 0.9884 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001933/1.155, allocations: 372.5 kB / 0.9888 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/1.155, allocations: 143.1 kB / 0.9889 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003528/1.156, allocations: 258.6 kB / 0.9892 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006535/1.156, allocations: 414.2 kB / 0.9896 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/1.156, allocations: 3 kB / 0.9896 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007377/1.157, allocations: 488.8 kB / 0.99 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001249/1.157, allocations: 153 kB / 0.9902 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/1.157, allocations: 6.875 kB / 0.9902 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/1.157, allocations: 2.906 kB / 0.9902 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006077/1.158, allocations: 101.1 kB / 0.9903 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004133/1.158, allocations: 0.5887 MB / 0.9908 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006669/1.159, allocations: 71.19 kB / 0.9909 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/1.159, allocations: 21.8 kB / 0.9909 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/1.159, allocations: 3.281 kB / 0.9909 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006545/1.16, allocations: 411.3 kB / 0.9913 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/1.16, allocations: 3.312 kB / 0.9913 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.743e-06/1.16, allocations: 6.906 kB / 0.9913 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/1.16, allocations: 84.98 kB / 0.9914 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/1.16, allocations: 6.75 kB / 0.9914 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005897/1.161, allocations: 65.06 kB / 0.9915 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/1.161, allocations: 19.88 kB / 0.9915 GB, free: 5.328 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.0004039/1.161, allocations: 306.9 kB / 0.9918 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/1.161, allocations: 57.91 kB / 0.9919 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007594/1.162, allocations: 449 kB / 0.9923 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/1.162, allocations: 3 kB / 0.9923 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/1.162, allocations: 0 / 0.9923 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007869/1.163, allocations: 0.6465 MB / 0.9929 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002008/1.165, allocations: 1.209 MB / 0.9941 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/1.165, allocations: 6.719 kB / 0.9941 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000496/1.165, allocations: 102.5 kB / 0.9942 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/1.165, allocations: 2.688 kB / 0.9942 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.919e-05/1.165, allocations: 13.81 kB / 0.9942 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004931/1.166, allocations: 0.5961 MB / 0.9948 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/1.166, allocations: 2.156 kB / 0.9948 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/1.167, allocations: 0.7344 MB / 0.9955 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003856/1.167, allocations: 173.1 kB / 0.9957 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/1.168, allocations: 15.19 kB / 0.9957 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005808/1.168, allocations: 48.55 kB / 0.9957 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.769e-05/1.168, allocations: 29.83 kB / 0.9958 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/1.168, allocations: 15.94 kB / 0.9958 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005134/1.169, allocations: 355.4 kB / 0.9961 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.71e-07/1.169, allocations: 0 / 0.9961 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001219/1.17, allocations: 344.7 kB / 0.9965 GB, free: 1.691 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.0005545/1.171, allocations: 187.1 kB / 0.9966 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001252/1.172, allocations: 0.5867 MB / 0.9972 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/1.172, allocations: 4.062 kB / 0.9972 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003465/1.172, allocations: 191.8 kB / 0.9974 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002163/1.174, allocations: 363.1 kB / 0.9977 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/1.177, allocations: 1.658 MB / 0.9994 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008416/1.178, allocations: 0.9392 MB / 1 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007635/1.179, allocations: 212.2 kB / 1 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/1.179, allocations: 53.5 kB / 1.001 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of SimCode: time 5.71e-07/1.179, allocations: 0 / 1.001 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of Templates: time 0.02098/1.2, allocations: 11.41 MB / 1.012 GB, free: 9.301 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: