Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8215/0.8215, allocations: 143.4 MB / 158.3 MB, free: 5.781 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 175.9 kB / 191.5 MB, free: 5.754 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.603/1.603, allocations: 223.2 MB / 447.7 MB, free: 4.789 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009534/0.0009533, allocations: 92.31 kB / 0.5187 GB, free: 1.145 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001769/0.001769, allocations: 270.2 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004983/0.0004984, allocations: 18.38 kB / 0.6929 GB, free: 59.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1813, allocations: 82.79 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.895/5.077, allocations: 1.889 GB / 2.663 GB, free: 189.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003845/5.077, allocations: 94.28 kB / 2.663 GB, free: 189.1 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.975/7.052, allocations: 487.9 MB / 3.14 GB, free: 149.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.532e-06/7.052, allocations: 0.6875 kB / 3.14 GB, free: 149.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.573e-05/7.052, allocations: 21.59 kB / 3.14 GB, free: 149.9 MB / 0.7136 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.003386/7.056, allocations: 1.1 MB / 3.141 GB, free: 149.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.686e-05/7.056, allocations: 8.938 kB / 3.141 GB, free: 149.5 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001768/7.056, allocations: 97.73 kB / 3.141 GB, free: 149.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/7.057, allocations: 207.2 kB / 3.141 GB, free: 149.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002544/7.06, allocations: 0.9015 MB / 3.142 GB, free: 149.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.81e-05/7.06, allocations: 42.25 kB / 3.142 GB, free: 149.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/7.06, allocations: 56.81 kB / 3.142 GB, free: 149.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/7.062, allocations: 0.5914 MB / 3.143 GB, free: 149.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/7.062, allocations: 0 / 3.143 GB, free: 149.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.234e-05/7.062, allocations: 24.53 kB / 3.143 GB, free: 149.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.532e-05/7.062, allocations: 17.66 kB / 3.143 GB, free: 149.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/7.063, allocations: 476.6 kB / 3.143 GB, free: 149.1 MB / 0.7136 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.003697/7.066, allocations: 2.4 MB / 3.145 GB, free: 147.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006246/7.067, allocations: 332.6 kB / 3.146 GB, free: 147.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006066/7.068, allocations: 308.9 kB / 3.146 GB, free: 147.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/7.068, allocations: 42.75 kB / 3.146 GB, free: 147.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=36): time 3.106e-06/7.068, allocations: 0 / 3.146 GB, free: 147.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36): time 0.001384/7.069, allocations: 0.5331 MB / 3.147 GB, free: 147.4 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/7.069, allocations: 54.38 kB / 3.147 GB, free: 147.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006767/7.07, allocations: 437.1 kB / 3.147 GB, free: 147.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/7.07, allocations: 36.73 kB / 3.147 GB, free: 147.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/7.07, allocations: 315.6 kB / 3.147 GB, free: 147.1 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/7.07, allocations: 133.2 kB / 3.148 GB, free: 147 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.156e-05/7.07, allocations: 8.906 kB / 3.148 GB, free: 147 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001473/7.071, allocations: 366.2 kB / 3.148 GB, free: 146.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/7.071, allocations: 142.1 kB / 3.148 GB, free: 146.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004021/7.071, allocations: 287 kB / 3.148 GB, free: 146.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/7.072, allocations: 184.8 kB / 3.148 GB, free: 146.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/7.072, allocations: 1.219 kB / 3.148 GB, free: 146.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009278/7.073, allocations: 483.4 kB / 3.149 GB, free: 146.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003134/7.073, allocations: 0.8756 MB / 3.15 GB, free: 145.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/7.073, allocations: 6.438 kB / 3.15 GB, free: 145.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/7.073, allocations: 8.094 kB / 3.15 GB, free: 145.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006349/7.074, allocations: 98.08 kB / 3.15 GB, free: 145.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003844/7.074, allocations: 0.5954 MB / 3.15 GB, free: 145 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007939/7.075, allocations: 69.89 kB / 3.151 GB, free: 145 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-05/7.075, allocations: 22.25 kB / 3.151 GB, free: 145 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/7.075, allocations: 9.75 kB / 3.151 GB, free: 145 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007528/7.076, allocations: 392.3 kB / 3.151 GB, free: 145 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/7.076, allocations: 1.531 kB / 3.151 GB, free: 145 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/7.076, allocations: 7.219 kB / 3.151 GB, free: 145 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/7.076, allocations: 92.34 kB / 3.151 GB, free: 145 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/7.076, allocations: 5.984 kB / 3.151 GB, free: 145 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005879/7.077, allocations: 66.14 kB / 3.151 GB, free: 144.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.747e-05/7.077, allocations: 20.77 kB / 3.151 GB, free: 144.9 MB / 0.7136 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.0004777/7.077, allocations: 306.7 kB / 3.151 GB, free: 144.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/7.077, allocations: 61.7 kB / 3.151 GB, free: 144.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008698/7.078, allocations: 438.5 kB / 3.152 GB, free: 144.7 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/7.078, allocations: 7.375 kB / 3.152 GB, free: 144.7 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/7.078, allocations: 0 / 3.152 GB, free: 144.7 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006588/7.079, allocations: 0.6461 MB / 3.153 GB, free: 144.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/7.081, allocations: 1.207 MB / 3.154 GB, free: 143.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/7.081, allocations: 1.562 kB / 3.154 GB, free: 143.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005211/7.082, allocations: 99.53 kB / 3.154 GB, free: 143.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/7.082, allocations: 3 kB / 3.154 GB, free: 143.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/7.082, allocations: 12.12 kB / 3.154 GB, free: 143.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002646/7.082, allocations: 0.5969 MB / 3.154 GB, free: 143.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/7.082, allocations: 6.438 kB / 3.154 GB, free: 143.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/7.083, allocations: 0.8094 MB / 3.155 GB, free: 142.9 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004272/7.084, allocations: 189.3 kB / 3.155 GB, free: 142.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.261e-05/7.084, allocations: 9.062 kB / 3.155 GB, free: 142.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005244/7.084, allocations: 40.47 kB / 3.155 GB, free: 142.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.893e-05/7.084, allocations: 23.89 kB / 3.155 GB, free: 142.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.858e-05/7.084, allocations: 17.75 kB / 3.155 GB, free: 142.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007256/7.085, allocations: 349.2 kB / 3.156 GB, free: 142.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.11e-07/7.085, allocations: 3.75 kB / 3.156 GB, free: 142.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001973/7.087, allocations: 482.7 kB / 3.156 GB, free: 142.7 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (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.003845/7.091, allocations: 3.115 MB / 3.159 GB, free: 141.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001315/7.092, allocations: 0.569 MB / 3.16 GB, free: 141.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/7.092, allocations: 0 / 3.16 GB, free: 141.1 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002935/7.093, allocations: 185.3 kB / 3.16 GB, free: 141.1 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/7.094, allocations: 361.5 kB / 3.16 GB, free: 141.1 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006258/7.101, allocations: 5.015 MB / 3.165 GB, free: 138.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005342/7.101, allocations: 0.9542 MB / 3.166 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0008259/7.102, allocations: 198.9 kB / 3.166 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/7.102, allocations: 224.6 kB / 3.167 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of SimCode: time 2.545e-06/7.102, allocations: 3.562 kB / 3.167 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07382/7.176, allocations: 37.98 MB / 3.204 GB, free: 137 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/7.176, allocations: 248.6 kB / 3.204 GB, free: 136.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.575/10.75, allocations: 3.625 kB / 3.204 GB, free: 136.7 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MassFraction.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)