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.1649/0.1671, allocations: 80.84 MB / 0.6706 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.6722/0.8394, allocations: 186.6 MB / 0.8529 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007963/0.8474, allocations: 3.993 MB / 0.8568 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.8486, allocations: 28.69 kB / 0.8568 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.8502, allocations: 498.7 kB / 0.8573 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003652/0.8539, allocations: 1.199 MB / 0.8585 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002717/0.8566, allocations: 0.8971 MB / 0.8593 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00356/0.8602, allocations: 2.339 MB / 0.8616 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.8615, allocations: 0.734 MB / 0.8623 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003263/0.8647, allocations: 1.2 MB / 0.8635 GB, free: 3.73 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001851/0.8666, allocations: 0.6897 MB / 0.8642 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000181/0.8668, allocations: 84.97 kB / 0.8643 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002652/0.8694, allocations: 1.072 MB / 0.8653 GB, free: 2.656 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004386/0.8699, allocations: 359.2 kB / 0.8657 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006497/0.8706, allocations: 0.5135 MB / 0.8662 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002669/0.8732, allocations: 1.646 MB / 0.8678 GB, free: 144 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.8733, allocations: 0 / 0.8678 GB, free: 144 kB / 0.6231 GB Notification: Performance of FrontEnd: time 2.445e-06/0.8733, allocations: 0 / 0.8678 GB, free: 144 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.711e-05/0.8733, allocations: 0 / 0.8678 GB, free: 144 kB / 0.6231 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.002243/0.8756, allocations: 1.299 MB / 0.869 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.8756, allocations: 8.031 kB / 0.869 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.8768, allocations: 191.3 kB / 0.8692 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.8779, allocations: 0.6382 MB / 0.8698 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.295e-05/0.8779, allocations: 49.31 kB / 0.8699 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.8781, allocations: 75.94 kB / 0.87 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.8796, allocations: 0.804 MB / 0.8708 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.8796, allocations: 4 kB / 0.8708 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.185e-05/0.8797, allocations: 24 kB / 0.8708 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.084e-05/0.8798, allocations: 29.3 kB / 0.8708 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.8811, allocations: 0.653 MB / 0.8714 GB, free: 12.24 MB / 0.6387 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.003761/0.8848, allocations: 2.842 MB / 0.8742 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.8859, allocations: 467.3 kB / 0.8747 GB, free: 8.695 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003707/0.8863, allocations: 225.4 kB / 0.8749 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003578/0.8866, allocations: 133.3 kB / 0.875 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.017e-05/0.8867, allocations: 42.83 kB / 0.875 GB, free: 8.273 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=40): time 2.364e-06/0.8867, allocations: 0 / 0.875 GB, free: 8.273 MB / 0.6387 GB Notification: Performance of matching and sorting (n=40): time 0.001765/0.8885, allocations: 0.6702 MB / 0.8757 GB, free: 7.598 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.8885, allocations: 55.41 kB / 0.8758 GB, free: 7.531 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007426/0.8893, allocations: 0.6056 MB / 0.8763 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.733e-05/0.8893, allocations: 37.7 kB / 0.8764 GB, free: 6.871 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/0.8896, allocations: 361.4 kB / 0.8767 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.8898, allocations: 154.7 kB / 0.8769 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.89, allocations: 110.2 kB / 0.877 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.8902, allocations: 382.7 kB / 0.8773 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004454/0.8906, allocations: 215 kB / 0.8776 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005532/0.8912, allocations: 335.6 kB / 0.8779 GB, free: 5.277 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009287/0.8921, allocations: 0.5629 MB / 0.8784 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.8921, allocations: 4 kB / 0.8784 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001431/0.8936, allocations: 0.7174 MB / 0.8791 GB, free: 3.922 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.461e-05/0.8936, allocations: 59.41 kB / 0.8792 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.8937, allocations: 4 kB / 0.8792 GB, free: 3.848 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/0.8937, allocations: 11.92 kB / 0.8792 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/0.8953, allocations: 277.9 kB / 0.8795 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/0.8978, allocations: 1.642 MB / 0.8811 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006775/0.8985, allocations: 83.42 kB / 0.8811 GB, free: 1.707 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-05/0.8986, allocations: 20 kB / 0.8812 GB, free: 1.688 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006947/0.8993, allocations: 397.1 kB / 0.8815 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004514/0.8997, allocations: 327.7 kB / 0.8819 GB, free: 0.9258 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008829/0.9006, allocations: 0.555 MB / 0.8824 GB, free: 328 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.925e-06/0.9006, allocations: 0 / 0.8824 GB, free: 328 kB / 0.6387 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001296/0.9019, allocations: 0.6827 MB / 0.8831 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.319e-05/0.902, allocations: 68.06 kB / 0.8831 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.902, allocations: 4 kB / 0.8831 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/0.902, allocations: 4 kB / 0.8831 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004679/0.9025, allocations: 116.9 kB / 0.8832 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.9025, allocations: 11.94 kB / 0.8833 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005639/0.9031, allocations: 43.77 kB / 0.8833 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-05/0.9031, allocations: 31.92 kB / 0.8833 GB, free: 15.33 MB / 0.6544 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.0002447/0.9034, allocations: 216.7 kB / 0.8835 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.9035, allocations: 71.58 kB / 0.8836 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.9047, allocations: 0.5088 MB / 0.8841 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.9047, allocations: 4 kB / 0.8841 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.9047, allocations: 0 / 0.8841 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008774/0.9056, allocations: 0.7392 MB / 0.8848 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.9078, allocations: 1.345 MB / 0.8861 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.9079, allocations: 8.031 kB / 0.8862 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001499/0.9094, allocations: 247.7 kB / 0.8864 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.9094, allocations: 4 kB / 0.8864 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.849e-05/0.9094, allocations: 15.98 kB / 0.8864 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.9116, allocations: 1.611 MB / 0.888 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.9116, allocations: 7.969 kB / 0.888 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.9131, allocations: 0.8417 MB / 0.8888 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/0.9135, allocations: 212.5 kB / 0.889 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.546e-05/0.9136, allocations: 12 kB / 0.889 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005385/0.9141, allocations: 27.95 kB / 0.889 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.606e-05/0.9142, allocations: 35.84 kB / 0.8891 GB, free: 9.078 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.163e-05/0.9143, allocations: 19.98 kB / 0.8891 GB, free: 9.059 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000549/0.9148, allocations: 439 kB / 0.8895 GB, free: 8.633 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9148, allocations: 4 kB / 0.8895 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001148/0.916, allocations: 415.3 kB / 0.8899 GB, free: 8.223 MB / 0.6544 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.0005281/0.9165, allocations: 204.9 kB / 0.8901 GB, free: 8.035 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002814/0.9193, allocations: 1.15 MB / 0.8912 GB, free: 6.836 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.9194, allocations: 0 / 0.8912 GB, free: 6.836 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002466/0.9218, allocations: 0.5128 MB / 0.8917 GB, free: 6.324 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/0.9239, allocations: 451.2 kB / 0.8922 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.9269, allocations: 1.545 MB / 0.8937 GB, free: 4.305 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007281/0.9277, allocations: 0.9694 MB / 0.8946 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007932/0.9285, allocations: 217.6 kB / 0.8948 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.9287, allocations: 59.44 kB / 0.8949 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of SimCode: time 7.11e-07/0.9287, allocations: 0 / 0.8949 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of Templates: time 0.03059/0.9593, allocations: 16.01 MB / 0.9105 GB, free: 3.195 MB / 0.67 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)