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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.72/0.72, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001174/0.001174, allocations: 183.8 kB / 169.7 MB, free: 1.742 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.893/1.893, allocations: 205.1 MB / 404.5 MB, free: 1.594 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 90.41 kB / 481.8 MB, free: 4.25 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.375e-05/3.377e-05, allocations: 8 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.164, allocations: 76.76 MB / 0.6283 GB, free: 9.926 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.383/6.547, allocations: 2.16 GB / 2.788 GB, free: 120.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004676/6.547, allocations: 95.27 kB / 2.789 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.979/8.526, allocations: 479.3 MB / 3.257 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.004e-06/8.526, allocations: 0 / 3.257 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.9e-05/8.526, allocations: 18.69 kB / 3.257 GB, free: 132.6 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002298/8.529, allocations: 1.055 MB / 3.258 GB, free: 132 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/8.529, allocations: 15.28 kB / 3.258 GB, free: 132 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001192/8.529, allocations: 92.31 kB / 3.258 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/8.53, allocations: 202.5 kB / 3.258 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/8.531, allocations: 0.6221 MB / 3.259 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.365e-05/8.531, allocations: 44.39 kB / 3.259 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.537e-05/8.531, allocations: 61.88 kB / 3.259 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/8.533, allocations: 0.6245 MB / 3.259 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/8.533, allocations: 3.938 kB / 3.259 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.349e-05/8.533, allocations: 18.25 kB / 3.259 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.148e-05/8.533, allocations: 22.56 kB / 3.259 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000908/8.534, allocations: 0.5022 MB / 3.26 GB, free: 131.5 MB / 0.6511 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.002703/8.536, allocations: 2.424 MB / 3.262 GB, free: 130 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006886/8.537, allocations: 397.3 kB / 3.263 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/8.537, allocations: 218.5 kB / 3.263 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004957/8.538, allocations: 304.3 kB / 3.263 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/8.538, allocations: 37.88 kB / 3.263 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=38): time 4.048e-06/8.538, allocations: 0 / 3.263 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=38): time 0.001227/8.539, allocations: 482.4 kB / 3.264 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/8.539, allocations: 57.97 kB / 3.264 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004752/8.54, allocations: 445.5 kB / 3.264 GB, free: 129 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.374e-05/8.54, allocations: 32.98 kB / 3.264 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/8.54, allocations: 318.2 kB / 3.264 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.447e-05/8.54, allocations: 131.3 kB / 3.265 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/8.54, allocations: 11.91 kB / 3.265 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001059/8.54, allocations: 372.4 kB / 3.265 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/8.54, allocations: 169.4 kB / 3.265 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003011/8.541, allocations: 286.1 kB / 3.265 GB, free: 128 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/8.541, allocations: 271.5 kB / 3.266 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/8.541, allocations: 0 / 3.266 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008367/8.542, allocations: 0.5974 MB / 3.266 GB, free: 127.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002317/8.542, allocations: 0.8475 MB / 3.267 GB, free: 126.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/8.542, allocations: 3.953 kB / 3.267 GB, free: 126.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/8.542, allocations: 5.469 kB / 3.267 GB, free: 126.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/8.543, allocations: 189 kB / 3.267 GB, free: 126.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00062/8.544, allocations: 0.6442 MB / 3.268 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007359/8.545, allocations: 78.31 kB / 3.268 GB, free: 126 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.538e-05/8.545, allocations: 24.61 kB / 3.268 GB, free: 126 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/8.545, allocations: 7.812 kB / 3.268 GB, free: 126 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000765/8.546, allocations: 0.5188 MB / 3.268 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/8.546, allocations: 3.688 kB / 3.268 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.053e-06/8.546, allocations: 3.125 kB / 3.268 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003748/8.546, allocations: 100.3 kB / 3.269 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/8.546, allocations: 10.91 kB / 3.269 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005523/8.547, allocations: 71.88 kB / 3.269 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-05/8.547, allocations: 26.33 kB / 3.269 GB, free: 125.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (senMasFra2.i_x,senMasFra1.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 53 * 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.0001585/8.547, allocations: 135.8 kB / 3.269 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.964e-05/8.547, allocations: 54.03 kB / 3.269 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000811/8.548, allocations: 471.5 kB / 3.269 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/8.548, allocations: 4.812 kB / 3.269 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/8.548, allocations: 3.953 kB / 3.269 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000562/8.548, allocations: 0.6785 MB / 3.27 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/8.55, allocations: 1.243 MB / 3.271 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/8.55, allocations: 3.812 kB / 3.271 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/8.551, allocations: 188.4 kB / 3.271 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/8.551, allocations: 7.578 kB / 3.271 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.535e-05/8.551, allocations: 11.27 kB / 3.271 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001674/8.553, allocations: 1.435 MB / 3.273 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/8.553, allocations: 2.281 kB / 3.273 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009467/8.554, allocations: 0.8345 MB / 3.274 GB, free: 122.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003203/8.554, allocations: 187 kB / 3.274 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.285e-05/8.554, allocations: 7.188 kB / 3.274 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005201/8.555, allocations: 54.33 kB / 3.274 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.855e-05/8.555, allocations: 26.45 kB / 3.274 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/8.555, allocations: 18.97 kB / 3.274 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004338/8.556, allocations: 346.9 kB / 3.274 GB, free: 121.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.61e-07/8.556, allocations: 0 / 3.274 GB, free: 121.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001648/8.557, allocations: 495.5 kB / 3.275 GB, free: 121.8 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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.003471/8.561, allocations: 3.09 MB / 3.278 GB, free: 120 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001942/8.563, allocations: 0.9537 MB / 3.279 GB, free: 119.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/8.563, allocations: 0 / 3.279 GB, free: 119.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008653/8.564, allocations: 283.5 kB / 3.279 GB, free: 119.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/8.566, allocations: 368.6 kB / 3.279 GB, free: 119.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003487/8.569, allocations: 1.287 MB / 3.28 GB, free: 118.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000593/8.57, allocations: 0.959 MB / 3.281 GB, free: 118.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00107/8.571, allocations: 245 kB / 3.282 GB, free: 118.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000354/8.571, allocations: 211.7 kB / 3.282 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of SimCode: time 1.372e-06/8.571, allocations: 0 / 3.282 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.086/8.657, allocations: 43.77 MB / 3.325 GB, free: 83.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002807/8.657, allocations: 219 kB / 3.325 GB, free: 82.94 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.653/12.31, allocations: 2.953 kB / 3.325 GB, free: 82.94 MB / 0.6511 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)