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.1611/0.1618, allocations: 82.2 MB / 0.5934 GB, free: 6.031 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.4412/0.603, allocations: 155.2 MB / 0.7449 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006708/0.6097, allocations: 3.952 MB / 0.7488 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007089/0.6104, allocations: 23.78 kB / 0.7488 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.6116, allocations: 421.3 kB / 0.7492 GB, free: 14.58 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003064/0.6147, allocations: 1.048 MB / 0.7502 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002322/0.617, allocations: 0.8033 MB / 0.751 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001983/0.619, allocations: 1.327 MB / 0.7523 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007396/0.6198, allocations: 0.5509 MB / 0.7529 GB, free: 13.65 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002135/0.6219, allocations: 0.8562 MB / 0.7537 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.623, allocations: 442.8 kB / 0.7541 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.6232, allocations: 36.19 kB / 0.7542 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.6248, allocations: 490.8 kB / 0.7546 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003744/0.6252, allocations: 291.8 kB / 0.7549 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002756/0.6255, allocations: 206.8 kB / 0.7551 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.6268, allocations: 1.064 MB / 0.7561 GB, free: 12.42 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.6268, allocations: 0 / 0.7561 GB, free: 12.42 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6268, allocations: 0 / 0.7561 GB, free: 12.42 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.6268, allocations: 0 / 0.7561 GB, free: 12.42 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.001947/0.6288, allocations: 1.064 MB / 0.7572 GB, free: 11.62 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.6288, allocations: 10.69 kB / 0.7572 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.63, allocations: 193.7 kB / 0.7574 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.6311, allocations: 0.5858 MB / 0.7579 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.558e-05/0.6311, allocations: 48.5 kB / 0.758 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.597e-05/0.6312, allocations: 66.69 kB / 0.7581 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.6327, allocations: 0.8075 MB / 0.7588 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.6327, allocations: 2.281 kB / 0.7588 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.935e-05/0.6328, allocations: 25.78 kB / 0.7589 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.169e-05/0.6328, allocations: 28.69 kB / 0.7589 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.6341, allocations: 0.6668 MB / 0.7595 GB, free: 10.79 MB / 0.545 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.003416/0.6375, allocations: 2.839 MB / 0.7623 GB, free: 8.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008739/0.6384, allocations: 482.1 kB / 0.7628 GB, free: 8.734 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003419/0.6387, allocations: 129.6 kB / 0.7629 GB, free: 8.625 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.6388, allocations: 47.36 kB / 0.7629 GB, free: 8.582 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 2.414e-06/0.6388, allocations: 0 / 0.7629 GB, free: 8.582 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.001532/0.6403, allocations: 0.6818 MB / 0.7636 GB, free: 8.414 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.6404, allocations: 56.38 kB / 0.7637 GB, free: 8.352 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006049/0.641, allocations: 0.6068 MB / 0.7643 GB, free: 8.121 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.479e-05/0.641, allocations: 37.62 kB / 0.7643 GB, free: 8.09 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.6413, allocations: 359.8 kB / 0.7646 GB, free: 7.883 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.6414, allocations: 148 kB / 0.7648 GB, free: 7.777 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.6414, allocations: 10.84 kB / 0.7648 GB, free: 7.777 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.6416, allocations: 373.3 kB / 0.7651 GB, free: 7.445 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003642/0.6419, allocations: 213 kB / 0.7653 GB, free: 7.406 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004358/0.6424, allocations: 334.9 kB / 0.7657 GB, free: 7.234 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004389/0.6428, allocations: 316.7 kB / 0.766 GB, free: 7.133 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.6428, allocations: 0 / 0.766 GB, free: 7.133 MB / 0.545 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001086/0.6439, allocations: 0.708 MB / 0.7667 GB, free: 6.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004951/0.6444, allocations: 1.108 MB / 0.7677 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.6445, allocations: 2.344 kB / 0.7677 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.6445, allocations: 11.64 kB / 0.7678 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/0.6462, allocations: 336.8 kB / 0.7681 GB, free: 5.645 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002397/0.6486, allocations: 1.646 MB / 0.7697 GB, free: 4.188 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006841/0.6493, allocations: 103.4 kB / 0.7698 GB, free: 4.137 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/0.6493, allocations: 27.61 kB / 0.7698 GB, free: 4.137 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.742e-06/0.6493, allocations: 2.344 kB / 0.7698 GB, free: 4.137 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000856/0.6502, allocations: 0.6039 MB / 0.7704 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.6502, allocations: 2.562 kB / 0.7704 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.019e-06/0.6502, allocations: 5.094 kB / 0.7704 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004251/0.6506, allocations: 114.5 kB / 0.7705 GB, free: 3.961 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.6507, allocations: 8.656 kB / 0.7705 GB, free: 3.961 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005328/0.6512, allocations: 85.11 kB / 0.7706 GB, free: 3.918 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.578e-05/0.6513, allocations: 21.03 kB / 0.7706 GB, free: 3.918 MB / 0.545 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 (senMasFra2.i_x,senMasFra1.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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003698/0.6516, allocations: 338.9 kB / 0.771 GB, free: 3.695 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.991e-05/0.6517, allocations: 68.94 kB / 0.771 GB, free: 3.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008451/0.6526, allocations: 0.5271 MB / 0.7715 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.6526, allocations: 2.875 kB / 0.7715 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.6526, allocations: 0 / 0.7715 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008058/0.6534, allocations: 0.7277 MB / 0.7722 GB, free: 3.012 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/0.6554, allocations: 1.361 MB / 0.7736 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6554, allocations: 0 / 0.7736 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001515/0.6569, allocations: 311.4 kB / 0.7739 GB, free: 2.293 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.6569, allocations: 2.844 kB / 0.7739 GB, free: 2.293 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.6569, allocations: 11.47 kB / 0.7739 GB, free: 2.293 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001993/0.6589, allocations: 1.611 MB / 0.7755 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.659, allocations: 6.875 kB / 0.7755 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.6601, allocations: 0.9234 MB / 0.7764 GB, free: 424 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003095/0.6605, allocations: 209.5 kB / 0.7766 GB, free: 268 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.447e-05/0.6606, allocations: 14.72 kB / 0.7766 GB, free: 264 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005755/0.6611, allocations: 65.88 kB / 0.7766 GB, free: 240 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/0.6612, allocations: 41.14 kB / 0.7767 GB, free: 216 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.127e-05/0.6613, allocations: 25.69 kB / 0.7767 GB, free: 208 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004139/0.6617, allocations: 430.2 kB / 0.7771 GB, free: 52 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6617, allocations: 0 / 0.7771 GB, free: 52 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009387/0.6626, allocations: 414.8 kB / 0.7775 GB, free: 4 kB / 0.545 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004039/0.663, allocations: 192.5 kB / 0.7777 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002555/0.6656, allocations: 1.207 MB / 0.7789 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6656, allocations: 5.719 kB / 0.7789 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002411/0.668, allocations: 0.5935 MB / 0.7795 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.6698, allocations: 427.4 kB / 0.7799 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.6722, allocations: 1.856 MB / 0.7817 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.6727, allocations: 0.9857 MB / 0.7826 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006953/0.6734, allocations: 223.4 kB / 0.7829 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.6735, allocations: 61.42 kB / 0.7829 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.6735, allocations: 0 / 0.7829 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of Templates: time 0.02203/0.6956, allocations: 14.77 MB / 0.7973 GB, free: 2.164 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: