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.001516/0.001516, allocations: 108.4 kB / 16.37 MB, free: 6.477 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.001621/0.001621, allocations: 185.8 kB / 17.31 MB, free: 5.824 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.341/1.341, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.792/1.792, allocations: 292.3 MB / 0.5496 GB, free: 17.6 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.001414/0.001414, allocations: 67.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2346, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.5754/0.8101, allocations: 186.8 MB / 0.9672 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.007554/0.8177, allocations: 4.522 MB / 0.9716 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.8187, allocations: 31.81 kB / 0.9717 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.82, allocations: 417.4 kB / 0.972 GB, free: 10.22 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003368/0.8234, allocations: 1.342 MB / 0.9734 GB, free: 8.871 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.8255, allocations: 0.7445 MB / 0.9741 GB, free: 8.133 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002606/0.8281, allocations: 1.949 MB / 0.976 GB, free: 6.18 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009026/0.829, allocations: 0.6563 MB / 0.9766 GB, free: 5.508 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002769/0.8318, allocations: 1.072 MB / 0.9777 GB, free: 4.449 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009713/0.8328, allocations: 0.5885 MB / 0.9783 GB, free: 3.859 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.53e-05/0.8329, allocations: 64 kB / 0.9783 GB, free: 3.797 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002741/0.8356, allocations: 1.376 MB / 0.9797 GB, free: 2.418 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0003019/0.8359, allocations: 288.2 kB / 0.9799 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.000486/0.8364, allocations: 414.1 kB / 0.9803 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002294/0.8387, allocations: 1.476 MB / 0.9818 GB, free: 256 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.8388, allocations: 3.984 kB / 0.9818 GB, free: 252 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8388, allocations: 4 kB / 0.9818 GB, free: 248 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.8388, allocations: 0 / 0.9818 GB, free: 248 kB / 0.7637 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.001637/0.8404, allocations: 1.093 MB / 0.9828 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.8405, allocations: 8.031 kB / 0.9829 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.8417, allocations: 206.9 kB / 0.983 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.8427, allocations: 0.6027 MB / 0.9836 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.213e-05/0.8428, allocations: 43.28 kB / 0.9837 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.8429, allocations: 56 kB / 0.9837 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009834/0.8439, allocations: 0.6206 MB / 0.9843 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.8439, allocations: 0 / 0.9843 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.105e-05/0.844, allocations: 20 kB / 0.9844 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.562e-05/0.8441, allocations: 25.31 kB / 0.9844 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007854/0.8449, allocations: 496.9 kB / 0.9849 GB, free: 12.98 MB / 0.7794 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.00311/0.848, allocations: 2.389 MB / 0.9872 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005401/0.8485, allocations: 356.6 kB / 0.9875 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.8488, allocations: 223.9 kB / 0.9877 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005694/0.8494, allocations: 307.1 kB / 0.988 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.8495, allocations: 42.55 kB / 0.9881 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=36): time 2.063e-06/0.8495, allocations: 0 / 0.9881 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36): time 0.00111/0.8506, allocations: 0.5425 MB / 0.9886 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.8506, allocations: 59.34 kB / 0.9887 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005351/0.8512, allocations: 0.4989 MB / 0.9891 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.107e-05/0.8512, allocations: 33.7 kB / 0.9892 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.8515, allocations: 316.5 kB / 0.9895 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.8516, allocations: 122.2 kB / 0.9896 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.8517, allocations: 90.03 kB / 0.9897 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.8519, allocations: 366.8 kB / 0.99 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/0.8522, allocations: 147.1 kB / 0.9902 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/0.8525, allocations: 267.1 kB / 0.9904 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005828/0.8531, allocations: 414.1 kB / 0.9908 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.8531, allocations: 0 / 0.9908 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007774/0.8539, allocations: 480.6 kB / 0.9913 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.8539, allocations: 8 kB / 0.9913 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.854, allocations: 3.562 kB / 0.9913 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.96e-05/0.854, allocations: 7.984 kB / 0.9913 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006615/0.8547, allocations: 105.3 kB / 0.9914 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004742/0.8551, allocations: 0.594 MB / 0.992 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005527/0.8557, allocations: 44.17 kB / 0.992 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-05/0.8558, allocations: 20 kB / 0.992 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005703/0.8563, allocations: 324.9 kB / 0.9924 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003344/0.8567, allocations: 269.6 kB / 0.9926 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005395/0.8572, allocations: 404.6 kB / 0.993 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.635e-06/0.8572, allocations: 1.719 kB / 0.993 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007164/0.858, allocations: 480.6 kB / 0.9935 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.858, allocations: 11.94 kB / 0.9935 GB, free: 3.652 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-06/0.858, allocations: 3.938 kB / 0.9935 GB, free: 3.648 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.861e-06/0.858, allocations: 8 kB / 0.9935 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/0.8584, allocations: 83.91 kB / 0.9936 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.8584, allocations: 7.938 kB / 0.9936 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004665/0.8588, allocations: 36.02 kB / 0.9936 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.341e-05/0.8589, allocations: 19.98 kB / 0.9936 GB, free: 3.496 MB / 0.7794 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.0002143/0.8591, allocations: 216.1 kB / 0.9938 GB, free: 3.277 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.8592, allocations: 63.19 kB / 0.9939 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008066/0.86, allocations: 436.7 kB / 0.9943 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.8601, allocations: 4 kB / 0.9943 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.8601, allocations: 0 / 0.9943 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006664/0.8607, allocations: 0.6556 MB / 0.9949 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.8624, allocations: 1.2 MB / 0.9961 GB, free: 0.7539 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.8625, allocations: 5.312 kB / 0.9961 GB, free: 0.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006225/0.8631, allocations: 98.28 kB / 0.9962 GB, free: 0.6562 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/0.8631, allocations: 4 kB / 0.9962 GB, free: 0.6523 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.809e-05/0.8632, allocations: 8 kB / 0.9962 GB, free: 0.6445 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003579/0.8635, allocations: 0.5938 MB / 0.9968 GB, free: 28 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8635, allocations: 0 / 0.9968 GB, free: 28 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009085/0.8645, allocations: 0.7341 MB / 0.9975 GB, free: 15.26 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/0.8647, allocations: 180.3 kB / 0.9977 GB, free: 15.06 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.342e-05/0.8648, allocations: 12 kB / 0.9977 GB, free: 15.05 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000361/0.8651, allocations: 19.12 kB / 0.9977 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.8652, allocations: 19.97 kB / 0.9977 GB, free: 15.02 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.8652, allocations: 15.98 kB / 0.9978 GB, free: 15 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004048/0.8656, allocations: 354.8 kB / 0.9981 GB, free: 14.66 MB / 0.795 GB Notification: Performance of sort global known variables: time 4.11e-07/0.8657, allocations: 3.938 kB / 0.9981 GB, free: 14.65 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008937/0.8666, allocations: 351.1 kB / 0.9984 GB, free: 14.31 MB / 0.795 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.0005076/0.8671, allocations: 199.7 kB / 0.9986 GB, free: 14.12 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001175/0.8683, allocations: 0.6074 MB / 0.9992 GB, free: 13.51 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.8683, allocations: 0 / 0.9992 GB, free: 13.51 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002952/0.8686, allocations: 193 kB / 0.9994 GB, free: 13.32 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/0.8702, allocations: 357.1 kB / 0.9997 GB, free: 13.01 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.8723, allocations: 1.358 MB / 1.001 GB, free: 11.6 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005145/0.8728, allocations: 0.9414 MB / 1.002 GB, free: 10.63 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.873, allocations: 51.44 kB / 1.002 GB, free: 10.58 MB / 0.795 GB Notification: Performance of SimCode: time 6.61e-07/0.873, allocations: 0 / 1.002 GB, free: 10.58 MB / 0.795 GB Notification: Performance of Templates: time 0.01696/0.8899, allocations: 12.61 MB / 1.014 GB, free: 14.18 MB / 0.8106 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)