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.1562/0.1583, allocations: 80.84 MB / 0.6706 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.624/0.7823, allocations: 186.6 MB / 0.8529 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007028/0.7894, allocations: 3.984 MB / 0.8568 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008503/0.7903, allocations: 32.84 kB / 0.8568 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.7917, allocations: 491.1 kB / 0.8573 GB, free: 8.008 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002744/0.7945, allocations: 1.203 MB / 0.8585 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002601/0.7971, allocations: 0.8994 MB / 0.8593 GB, free: 6.387 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00267/0.7998, allocations: 2.35 MB / 0.8616 GB, free: 5.043 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009102/0.8007, allocations: 0.7193 MB / 0.8623 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002314/0.803, allocations: 1.226 MB / 0.8635 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.8044, allocations: 0.675 MB / 0.8642 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.8045, allocations: 89.09 kB / 0.8643 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001927/0.8065, allocations: 1.075 MB / 0.8653 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003713/0.8069, allocations: 371.1 kB / 0.8657 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005462/0.8074, allocations: 0.5057 MB / 0.8662 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.8095, allocations: 1.644 MB / 0.8678 GB, free: 356 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.8095, allocations: 3.984 kB / 0.8678 GB, free: 352 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8095, allocations: 0 / 0.8678 GB, free: 352 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.8095, allocations: 0 / 0.8678 GB, free: 352 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.00216/0.8117, allocations: 1.261 MB / 0.869 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.8117, allocations: 15.97 kB / 0.869 GB, free: 15 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.8129, allocations: 186.8 kB / 0.8692 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.814, allocations: 0.6261 MB / 0.8698 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.324e-05/0.814, allocations: 49.31 kB / 0.8699 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.8142, allocations: 78.09 kB / 0.8699 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.8157, allocations: 0.818 MB / 0.8707 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.8157, allocations: 0 / 0.8707 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.458e-05/0.8158, allocations: 28 kB / 0.8708 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.495e-05/0.8158, allocations: 21.31 kB / 0.8708 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.8171, allocations: 0.657 MB / 0.8714 GB, free: 12.49 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.00405/0.8212, allocations: 2.833 MB / 0.8742 GB, free: 9.414 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.8222, allocations: 467.3 kB / 0.8746 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003594/0.8226, allocations: 229.4 kB / 0.8749 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003558/0.823, allocations: 129.9 kB / 0.875 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.823, allocations: 42.88 kB / 0.875 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=40): time 2.074e-06/0.823, allocations: 0 / 0.875 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of matching and sorting (n=40): time 0.001638/0.8247, allocations: 0.6698 MB / 0.8757 GB, free: 7.852 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.8247, allocations: 55.41 kB / 0.8757 GB, free: 7.785 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007003/0.8254, allocations: 0.6094 MB / 0.8763 GB, free: 7.164 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.239e-05/0.8255, allocations: 37.7 kB / 0.8764 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.8258, allocations: 356.1 kB / 0.8767 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.8259, allocations: 141.9 kB / 0.8768 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.8261, allocations: 106.2 kB / 0.8769 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.8263, allocations: 382.7 kB / 0.8773 GB, free: 6.133 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004233/0.8267, allocations: 219 kB / 0.8775 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004819/0.8272, allocations: 335.6 kB / 0.8778 GB, free: 5.543 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009581/0.8282, allocations: 0.5667 MB / 0.8784 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.8282, allocations: 0 / 0.8784 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001284/0.8295, allocations: 0.7131 MB / 0.8791 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.974e-05/0.8295, allocations: 63.39 kB / 0.8791 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.8296, allocations: 0 / 0.8791 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.08e-05/0.8296, allocations: 8.344 kB / 0.8791 GB, free: 4.109 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/0.8313, allocations: 275.6 kB / 0.8794 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/0.8337, allocations: 1.643 MB / 0.881 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006234/0.8344, allocations: 75.3 kB / 0.8811 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.339e-05/0.8344, allocations: 24 kB / 0.8811 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006003/0.835, allocations: 398.3 kB / 0.8815 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004271/0.8355, allocations: 327.6 kB / 0.8818 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007569/0.8362, allocations: 0.555 MB / 0.8823 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.064e-06/0.8363, allocations: 0 / 0.8823 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001064/0.8373, allocations: 0.6745 MB / 0.883 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.592e-05/0.8374, allocations: 76.08 kB / 0.8831 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.8374, allocations: 0 / 0.8831 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.472e-06/0.8374, allocations: 8 kB / 0.8831 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004657/0.8379, allocations: 111.8 kB / 0.8832 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.8379, allocations: 4 kB / 0.8832 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005453/0.8385, allocations: 55.59 kB / 0.8832 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.333e-05/0.8385, allocations: 23.94 kB / 0.8833 GB, free: 15.62 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.0002094/0.8387, allocations: 220.7 kB / 0.8835 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.8388, allocations: 63.25 kB / 0.8835 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.8399, allocations: 0.5201 MB / 0.884 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.8399, allocations: 4 kB / 0.8841 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.8399, allocations: 0 / 0.8841 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009104/0.8408, allocations: 0.7315 MB / 0.8848 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.843, allocations: 1.357 MB / 0.8861 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.843, allocations: 4.031 kB / 0.8861 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001535/0.8446, allocations: 247.8 kB / 0.8863 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-05/0.8446, allocations: 7.984 kB / 0.8863 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/0.8446, allocations: 8 kB / 0.8863 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002158/0.8468, allocations: 1.611 MB / 0.8879 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.8468, allocations: 11.91 kB / 0.8879 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.8481, allocations: 0.8375 MB / 0.8888 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003399/0.8485, allocations: 208.2 kB / 0.8889 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.713e-05/0.8486, allocations: 12 kB / 0.889 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005254/0.8491, allocations: 27.97 kB / 0.889 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.494e-05/0.8492, allocations: 35.78 kB / 0.889 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.807e-05/0.8493, allocations: 27.97 kB / 0.889 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004839/0.8498, allocations: 435 kB / 0.8895 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8498, allocations: 4 kB / 0.8895 GB, free: 8.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001031/0.8508, allocations: 415.1 kB / 0.8899 GB, free: 8.504 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.0004642/0.8513, allocations: 194.2 kB / 0.89 GB, free: 8.324 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002867/0.8542, allocations: 1.158 MB / 0.8912 GB, free: 7.117 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.8542, allocations: 0 / 0.8912 GB, free: 7.117 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00253/0.8567, allocations: 0.5127 MB / 0.8917 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/0.8588, allocations: 443.2 kB / 0.8921 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/0.8616, allocations: 1.52 MB / 0.8936 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/0.8622, allocations: 0.9733 MB / 0.8945 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000684/0.8629, allocations: 213.6 kB / 0.8947 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.863, allocations: 59.42 kB / 0.8948 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.863, allocations: 0 / 0.8948 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of Templates: time 0.02821/0.8913, allocations: 16.25 MB / 0.9107 GB, free: 3.254 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)