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.6914/0.6914, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009673/0.0009673, allocations: 184.4 kB / 187.3 MB, free: 11.89 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.214/1.214, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.0008302/0.0008302, allocations: 99.84 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001646/0.001646, allocations: 268.8 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.826e-05/2.829e-05, allocations: 8 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3354, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.517/3.852, allocations: 1.889 GB / 2.654 GB, free: 117.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/3.853, allocations: 87.52 kB / 2.654 GB, free: 117.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.494/5.347, allocations: 487.5 MB / 3.13 GB, free: 156.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.332e-06/5.347, allocations: 0 / 3.13 GB, free: 156.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.278e-05/5.347, allocations: 22 kB / 3.13 GB, free: 156.6 MB / 0.698 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.001601/5.348, allocations: 1 MB / 3.131 GB, free: 156.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/5.348, allocations: 7.344 kB / 3.131 GB, free: 156.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.649e-05/5.348, allocations: 93.53 kB / 3.131 GB, free: 156 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/5.35, allocations: 210.5 kB / 3.131 GB, free: 156 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/5.351, allocations: 0.8938 MB / 3.132 GB, free: 155.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/5.351, allocations: 41.81 kB / 3.132 GB, free: 155.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.268e-05/5.352, allocations: 59 kB / 3.132 GB, free: 155.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008252/5.352, allocations: 0.5829 MB / 3.133 GB, free: 155.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/5.352, allocations: 0 / 3.133 GB, free: 155.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.664e-05/5.352, allocations: 24.28 kB / 3.133 GB, free: 155.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/5.352, allocations: 16.19 kB / 3.133 GB, free: 155.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006035/5.353, allocations: 471.7 kB / 3.133 GB, free: 155.6 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.002281/5.355, allocations: 2.39 MB / 3.135 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004187/5.356, allocations: 324.8 kB / 3.136 GB, free: 154.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/5.356, allocations: 207.7 kB / 3.136 GB, free: 154.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000435/5.356, allocations: 302.9 kB / 3.136 GB, free: 154.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/5.357, allocations: 39.41 kB / 3.136 GB, free: 154 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 2.715e-06/5.357, allocations: 0 / 3.136 GB, free: 154 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.0007937/5.357, allocations: 419.8 kB / 3.137 GB, free: 153.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/5.357, allocations: 57.53 kB / 3.137 GB, free: 153.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004021/5.358, allocations: 430.6 kB / 3.137 GB, free: 153.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/5.358, allocations: 35.92 kB / 3.137 GB, free: 153.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/5.358, allocations: 318.3 kB / 3.137 GB, free: 153.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.734e-05/5.358, allocations: 129.1 kB / 3.138 GB, free: 153.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.862e-05/5.358, allocations: 10.47 kB / 3.138 GB, free: 153.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.723e-05/5.358, allocations: 360.4 kB / 3.138 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/5.358, allocations: 136.7 kB / 3.138 GB, free: 153.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/5.359, allocations: 279.5 kB / 3.138 GB, free: 153 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002542/5.359, allocations: 187.3 kB / 3.138 GB, free: 153 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/5.359, allocations: 0 / 3.138 GB, free: 153 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005615/5.359, allocations: 467.5 kB / 3.139 GB, free: 153 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001898/5.36, allocations: 0.8862 MB / 3.14 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/5.36, allocations: 3.656 kB / 3.14 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/5.36, allocations: 3.688 kB / 3.14 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005177/5.36, allocations: 98.39 kB / 3.14 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002717/5.36, allocations: 0.6042 MB / 3.14 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005341/5.361, allocations: 72.22 kB / 3.141 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-05/5.361, allocations: 22.62 kB / 3.141 GB, free: 151.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.703e-06/5.361, allocations: 3.688 kB / 3.141 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004844/5.362, allocations: 390 kB / 3.141 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/5.362, allocations: 3.594 kB / 3.141 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.029e-06/5.362, allocations: 3.844 kB / 3.141 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/5.362, allocations: 86.58 kB / 3.141 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/5.362, allocations: 7.859 kB / 3.141 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004435/5.362, allocations: 63.84 kB / 3.141 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/5.362, allocations: 24.75 kB / 3.141 GB, free: 151.4 MB / 0.698 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 () * 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 9.134e-05/5.363, allocations: 133.6 kB / 3.141 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.446e-05/5.363, allocations: 61.47 kB / 3.141 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006019/5.363, allocations: 430.9 kB / 3.142 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/5.363, allocations: 6.391 kB / 3.142 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/5.363, allocations: 0 / 3.142 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004467/5.364, allocations: 0.6503 MB / 3.142 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/5.365, allocations: 1.195 MB / 3.144 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/5.365, allocations: 5 kB / 3.144 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/5.365, allocations: 86.22 kB / 3.144 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/5.365, allocations: 6.766 kB / 3.144 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/5.365, allocations: 10.28 kB / 3.144 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001681/5.366, allocations: 0.5964 MB / 3.144 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/5.366, allocations: 3.5 kB / 3.144 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007138/5.366, allocations: 0.8032 MB / 3.145 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/5.367, allocations: 173.7 kB / 3.145 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.487e-05/5.367, allocations: 18.09 kB / 3.145 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004051/5.367, allocations: 45.73 kB / 3.145 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/5.367, allocations: 29.14 kB / 3.145 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/5.367, allocations: 11.06 kB / 3.145 GB, free: 149.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003143/5.367, allocations: 352 kB / 3.146 GB, free: 149.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/5.367, allocations: 0 / 3.146 GB, free: 149.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001175/5.369, allocations: 482.5 kB / 3.146 GB, free: 149.2 MB / 0.698 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 () * 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.002409/5.371, allocations: 3.135 MB / 3.149 GB, free: 147.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008778/5.372, allocations: 0.5738 MB / 3.15 GB, free: 147.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/5.372, allocations: 0 / 3.15 GB, free: 147.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002361/5.372, allocations: 179.5 kB / 3.15 GB, free: 147.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/5.374, allocations: 356.3 kB / 3.15 GB, free: 147.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/5.376, allocations: 1.243 MB / 3.151 GB, free: 147.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/5.376, allocations: 0.9491 MB / 3.152 GB, free: 146.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007656/5.377, allocations: 258.7 kB / 3.153 GB, free: 146.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/5.377, allocations: 208.4 kB / 3.153 GB, free: 146.2 MB / 0.698 GB Notification: Performance of SimCode: time 4.5e-07/5.377, allocations: 0 / 3.153 GB, free: 146.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05413/5.431, allocations: 42.43 MB / 3.194 GB, free: 113.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00013/5.431, allocations: 225 kB / 3.194 GB, free: 113.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.21/8.642, allocations: 0 / 3.194 GB, free: 113.5 MB / 0.698 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)