Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007771/0.0007771, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0009106/0.0009106, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.009/1.009, allocations: 143.4 MB / 434.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003254, allocations: 8 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1523, allocations: 83.42 MB / 0.5975 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction): time 0.4547/0.6071, allocations: 170 MB / 0.7635 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007309/0.6145, allocations: 4.279 MB / 0.7677 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007882/0.6153, allocations: 23.81 kB / 0.7677 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009275/0.6162, allocations: 282.2 kB / 0.768 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002799/0.6191, allocations: 1.003 MB / 0.769 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.6208, allocations: 0.5781 MB / 0.7695 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002626/0.6234, allocations: 2.31 MB / 0.7718 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007348/0.6241, allocations: 0.4886 MB / 0.7723 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001943/0.6261, allocations: 0.8598 MB / 0.7731 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007754/0.6269, allocations: 0.5603 MB / 0.7737 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.728e-05/0.627, allocations: 32 kB / 0.7737 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001899/0.6289, allocations: 0.8575 MB / 0.7745 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002461/0.6291, allocations: 251.2 kB / 0.7748 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.6293, allocations: 177.3 kB / 0.7749 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.6304, allocations: 1.044 MB / 0.776 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6304, allocations: 0 / 0.776 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6304, allocations: 0 / 0.776 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.6305, allocations: 0 / 0.776 GB, free: 5.367 MB / 0.5919 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.001436/0.6319, allocations: 0.9543 MB / 0.7769 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.632, allocations: 12.03 kB / 0.7769 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000113/0.6321, allocations: 99.02 kB / 0.777 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.6332, allocations: 198.9 kB / 0.7772 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008013/0.6341, allocations: 0.5718 MB / 0.7777 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.572e-05/0.6341, allocations: 42.19 kB / 0.7778 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.573e-05/0.6342, allocations: 59.91 kB / 0.7778 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009679/0.6352, allocations: 0.6167 MB / 0.7784 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.6352, allocations: 0 / 0.7784 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.022e-05/0.6353, allocations: 24 kB / 0.7785 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.719e-05/0.6353, allocations: 17.31 kB / 0.7785 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000745/0.6361, allocations: 0.4892 MB / 0.779 GB, free: 2.184 MB / 0.5919 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.002682/0.6387, allocations: 2.396 MB / 0.7813 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005712/0.6393, allocations: 351.4 kB / 0.7816 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002887/0.6396, allocations: 213.3 kB / 0.7818 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005198/0.6402, allocations: 323.2 kB / 0.7821 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.6402, allocations: 35.11 kB / 0.7822 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 1.403e-06/0.6402, allocations: 4 kB / 0.7822 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36): time 0.001026/0.6412, allocations: 0.5467 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.6413, allocations: 55.41 kB / 0.7828 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005221/0.6418, allocations: 0.495 MB / 0.7833 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.6419, allocations: 33.7 kB / 0.7833 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.6421, allocations: 315.9 kB / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.6422, allocations: 130 kB / 0.7837 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.226e-05/0.6422, allocations: 12 kB / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.6424, allocations: 378.7 kB / 0.7841 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.6426, allocations: 140.7 kB / 0.7842 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/0.6429, allocations: 255.8 kB / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.6432, allocations: 194.1 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.6432, allocations: 0 / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006687/0.6439, allocations: 485.5 kB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.716e-05/0.644, allocations: 150 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.644, allocations: 4 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.644, allocations: 4 kB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005182/0.6445, allocations: 114 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003581/0.6449, allocations: 0.5899 MB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004913/0.6454, allocations: 80.64 kB / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.714e-05/0.6455, allocations: 16 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.885e-06/0.6455, allocations: 4 kB / 0.786 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005912/0.6461, allocations: 411.8 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-06/0.6461, allocations: 0 / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.154e-06/0.6461, allocations: 8 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/0.6465, allocations: 87.84 kB / 0.7865 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.6465, allocations: 4 kB / 0.7865 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004426/0.6469, allocations: 71.83 kB / 0.7866 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.647, allocations: 23.11 kB / 0.7866 GB, free: 9.902 MB / 0.6075 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 (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.0002918/0.6473, allocations: 309 kB / 0.7869 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.199e-05/0.6474, allocations: 55.34 kB / 0.787 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007126/0.6481, allocations: 451.5 kB / 0.7874 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.6481, allocations: 4 kB / 0.7874 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.6481, allocations: 0 / 0.7874 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006148/0.6487, allocations: 0.648 MB / 0.788 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.6504, allocations: 1.208 MB / 0.7892 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.6504, allocations: 4 kB / 0.7892 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000454/0.6509, allocations: 95.83 kB / 0.7893 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.6509, allocations: 4.172 kB / 0.7893 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/0.6509, allocations: 19.98 kB / 0.7893 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003625/0.6513, allocations: 0.5899 MB / 0.7899 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.6513, allocations: 3.938 kB / 0.7899 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009298/0.6523, allocations: 0.7085 MB / 0.7906 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002293/0.6525, allocations: 184.2 kB / 0.7908 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.436e-05/0.6526, allocations: 12 kB / 0.7908 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004243/0.653, allocations: 39.97 kB / 0.7908 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.6531, allocations: 27.97 kB / 0.7909 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.6531, allocations: 8 kB / 0.7909 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004128/0.6535, allocations: 358.8 kB / 0.7912 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6535, allocations: 0 / 0.7912 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009586/0.6545, allocations: 351.1 kB / 0.7915 GB, free: 4.602 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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 (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.001601/0.6561, allocations: 1.333 MB / 0.7928 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001111/0.6572, allocations: 0.582 MB / 0.7934 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6572, allocations: 0 / 0.7934 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002896/0.6575, allocations: 187.7 kB / 0.7936 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.6592, allocations: 366 kB / 0.7939 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006541/0.6658, allocations: 3.711 MB / 0.7976 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008581/0.6667, allocations: 0.953 MB / 0.7985 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008391/0.6676, allocations: 209.7 kB / 0.7987 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003279/0.6679, allocations: 211.4 kB / 0.7989 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of SimCode: time 1.002e-06/0.6679, allocations: 3.938 kB / 0.7989 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03306/0.701, allocations: 16.96 MB / 0.8155 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/0.7012, allocations: 261.3 kB / 0.8157 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.035/2.736, allocations: 0 / 0.8157 GB, free: 12.02 MB / 0.6387 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_MassFraction.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) Environment - environmentSimulation: