Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1448/0.1466, allocations: 80.84 MB / 0.5897 GB, free: 7.117 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.6121/0.7587, allocations: 184.4 MB / 0.7698 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007586/0.7663, allocations: 4.048 MB / 0.7737 GB, free: 9.184 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/0.7683, allocations: 26.62 kB / 0.7737 GB, free: 9.172 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001585/0.7699, allocations: 428 kB / 0.7741 GB, free: 8.836 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004118/0.7741, allocations: 1.143 MB / 0.7753 GB, free: 7.949 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002824/0.7769, allocations: 0.8183 MB / 0.7761 GB, free: 7.355 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004815/0.7817, allocations: 3.274 MB / 0.7793 GB, free: 5.602 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.7829, allocations: 0.6127 MB / 0.7798 GB, free: 5.227 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003263/0.7862, allocations: 1.071 MB / 0.7809 GB, free: 4.625 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002122/0.7883, allocations: 0.7149 MB / 0.7816 GB, free: 4.234 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.7885, allocations: 46.59 kB / 0.7816 GB, free: 4.23 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002808/0.7913, allocations: 1.137 MB / 0.7827 GB, free: 3.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004317/0.7918, allocations: 331.6 kB / 0.7831 GB, free: 3.383 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007052/0.7925, allocations: 470.4 kB / 0.7835 GB, free: 3.113 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002329/0.7948, allocations: 1.631 MB / 0.7851 GB, free: 2.055 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.7948, allocations: 2.188 kB / 0.7851 GB, free: 2.055 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7948, allocations: 0 / 0.7851 GB, free: 2.055 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.661e-05/0.7949, allocations: 0 / 0.7851 GB, free: 2.055 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.00241/0.7973, allocations: 1.261 MB / 0.7863 GB, free: 1.059 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.7973, allocations: 7.125 kB / 0.7863 GB, free: 1.059 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.7986, allocations: 184.3 kB / 0.7865 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009824/0.7996, allocations: 0.6054 MB / 0.7871 GB, free: 492 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.922e-05/0.7997, allocations: 53.19 kB / 0.7872 GB, free: 468 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.7998, allocations: 69.34 kB / 0.7872 GB, free: 444 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.8014, allocations: 0.8117 MB / 0.788 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.8014, allocations: 3.938 kB / 0.788 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.707e-05/0.8015, allocations: 33.28 kB / 0.7881 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.999e-05/0.8015, allocations: 21.12 kB / 0.7881 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.8029, allocations: 0.6542 MB / 0.7887 GB, free: 15.61 MB / 0.5606 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.003864/0.8068, allocations: 2.835 MB / 0.7915 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009763/0.8078, allocations: 466 kB / 0.7919 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003576/0.8081, allocations: 223.1 kB / 0.7921 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003566/0.8085, allocations: 129.6 kB / 0.7923 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.8085, allocations: 41.3 kB / 0.7923 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 2.144e-06/0.8086, allocations: 0 / 0.7923 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.00175/0.8103, allocations: 0.6695 MB / 0.793 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.8104, allocations: 55.72 kB / 0.793 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000719/0.8111, allocations: 0.6075 MB / 0.7936 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-05/0.8112, allocations: 38.73 kB / 0.7936 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.8114, allocations: 351.1 kB / 0.794 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.8116, allocations: 149.7 kB / 0.7941 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.8118, allocations: 117.7 kB / 0.7942 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.8119, allocations: 370.4 kB / 0.7946 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004343/0.8124, allocations: 214.8 kB / 0.7948 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005416/0.8129, allocations: 340 kB / 0.7951 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009102/0.8139, allocations: 0.5705 MB / 0.7957 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.8139, allocations: 3.938 kB / 0.7957 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001225/0.8151, allocations: 0.7051 MB / 0.7964 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.59e-05/0.8152, allocations: 63.19 kB / 0.7964 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.8152, allocations: 6.922 kB / 0.7964 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.8152, allocations: 9.25 kB / 0.7964 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/0.817, allocations: 276.3 kB / 0.7967 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/0.8193, allocations: 1.53 MB / 0.7982 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009101/0.8202, allocations: 99.33 kB / 0.7983 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-05/0.8203, allocations: 27.98 kB / 0.7983 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000701/0.821, allocations: 397.1 kB / 0.7987 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004647/0.8214, allocations: 329.6 kB / 0.799 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007553/0.8222, allocations: 0.5511 MB / 0.7996 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.08e-06/0.8222, allocations: 3.938 kB / 0.7996 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001082/0.8233, allocations: 0.6781 MB / 0.8002 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/0.8233, allocations: 63.39 kB / 0.8003 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.8234, allocations: 0 / 0.8003 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.743e-06/0.8234, allocations: 8.344 kB / 0.8003 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004514/0.8238, allocations: 115.8 kB / 0.8004 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.8238, allocations: 11.92 kB / 0.8004 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006816/0.8245, allocations: 75.64 kB / 0.8005 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/0.8246, allocations: 24 kB / 0.8005 GB, free: 5.387 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (senMasFra1.i_x,senMasFra2.i_x) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 2 * 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.0002362/0.8248, allocations: 216.9 kB / 0.8007 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.825, allocations: 71.09 kB / 0.8008 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.826, allocations: 0.5158 MB / 0.8013 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.826, allocations: 8.094 kB / 0.8013 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.826, allocations: 0 / 0.8013 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008244/0.8268, allocations: 0.726 MB / 0.802 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.829, allocations: 1.356 MB / 0.8033 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.829, allocations: 0 / 0.8033 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001502/0.8305, allocations: 243.8 kB / 0.8036 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-06/0.8306, allocations: 11.92 kB / 0.8036 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.8306, allocations: 15.94 kB / 0.8036 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.8325, allocations: 1.505 MB / 0.8051 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.8325, allocations: 0 / 0.8051 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.834, allocations: 0.8671 MB / 0.8059 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003943/0.8344, allocations: 212.1 kB / 0.8061 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.88e-05/0.8345, allocations: 11.98 kB / 0.8061 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006451/0.8351, allocations: 67.84 kB / 0.8062 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.948e-05/0.8352, allocations: 27.91 kB / 0.8062 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-05/0.8353, allocations: 27.97 kB / 0.8062 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005144/0.8358, allocations: 439 kB / 0.8066 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8358, allocations: 0 / 0.8066 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00116/0.837, allocations: 415.1 kB / 0.807 GB, free: 14.32 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 38 * 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.0004847/0.8375, allocations: 202.7 kB / 0.8072 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002905/0.8404, allocations: 1.139 MB / 0.8083 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.8404, allocations: 0 / 0.8083 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002508/0.8429, allocations: 0.5087 MB / 0.8088 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/0.8451, allocations: 429.7 kB / 0.8093 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.8478, allocations: 1.801 MB / 0.811 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/0.8483, allocations: 0.9772 MB / 0.812 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008785/0.8492, allocations: 217.6 kB / 0.8122 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.8494, allocations: 59.42 kB / 0.8122 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/0.8494, allocations: 0 / 0.8122 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of Templates: time 0.02557/0.8749, allocations: 15.37 MB / 0.8272 GB, free: 9.742 MB / 0.5919 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)