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.7175/0.7175, allocations: 127.4 MB / 134.9 MB, free: 3.719 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 180.9 kB / 164.7 MB, free: 6.52 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.519/1.519, allocations: 205.2 MB / 399.5 MB, free: 5.902 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.0008956/0.0008954, allocations: 86.22 kB / 476.7 MB, free: 8.633 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.903e-05/1.907e-05, allocations: 8 kB / 0.5467 GB, free: 60.38 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1628, allocations: 76.76 MB / 0.6216 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.679/5.842, allocations: 2.16 GB / 2.781 GB, free: 71.52 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/5.842, allocations: 91.94 kB / 2.782 GB, free: 71.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.698/7.54, allocations: 473.8 MB / 3.244 GB, free: 87 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.404e-06/7.54, allocations: 0 / 3.244 GB, free: 87 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.219e-05/7.54, allocations: 21.41 kB / 3.244 GB, free: 86.98 MB / 0.6355 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.001928/7.542, allocations: 1.044 MB / 3.245 GB, free: 85.88 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/7.542, allocations: 8.031 kB / 3.245 GB, free: 85.88 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/7.543, allocations: 206.9 kB / 3.246 GB, free: 85.67 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/7.544, allocations: 0.6315 MB / 3.246 GB, free: 85.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/7.544, allocations: 16 kB / 3.246 GB, free: 85 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.576e-05/7.545, allocations: 43.89 kB / 3.246 GB, free: 84.96 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006877/7.545, allocations: 466.4 kB / 3.247 GB, free: 84.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007377/7.546, allocations: 0.5205 MB / 3.247 GB, free: 83.96 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/7.546, allocations: 4 kB / 3.247 GB, free: 83.96 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.662e-05/7.546, allocations: 0 / 3.247 GB, free: 83.96 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/7.546, allocations: 21.31 kB / 3.247 GB, free: 83.94 MB / 0.6355 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.002274/7.548, allocations: 2.295 MB / 3.249 GB, free: 81.47 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/7.549, allocations: 366.6 kB / 3.25 GB, free: 81.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/7.549, allocations: 201.4 kB / 3.25 GB, free: 80.9 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004411/7.55, allocations: 299.3 kB / 3.25 GB, free: 80.55 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/7.55, allocations: 42.31 kB / 3.25 GB, free: 80.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=38): time 1.483e-06/7.55, allocations: 0 / 3.25 GB, free: 80.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38): time 0.001089/7.551, allocations: 464.6 kB / 3.251 GB, free: 80.04 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/7.551, allocations: 55.41 kB / 3.251 GB, free: 79.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003274/7.551, allocations: 357.1 kB / 3.251 GB, free: 79.62 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/7.551, allocations: 29.7 kB / 3.251 GB, free: 79.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/7.551, allocations: 324.2 kB / 3.251 GB, free: 79.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.465e-05/7.551, allocations: 126.1 kB / 3.252 GB, free: 79.14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-05/7.551, allocations: 4 kB / 3.252 GB, free: 79.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.692e-05/7.551, allocations: 366.7 kB / 3.252 GB, free: 78.77 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/7.552, allocations: 161.1 kB / 3.252 GB, free: 78.61 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/7.552, allocations: 269.2 kB / 3.252 GB, free: 78.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004258/7.552, allocations: 240.6 kB / 3.253 GB, free: 78.07 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/7.552, allocations: 0 / 3.253 GB, free: 78.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007876/7.553, allocations: 0.5383 MB / 3.253 GB, free: 77.53 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001914/7.553, allocations: 0.8421 MB / 3.254 GB, free: 76.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/7.553, allocations: 4 kB / 3.254 GB, free: 76.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/7.553, allocations: 7.984 kB / 3.254 GB, free: 76.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/7.554, allocations: 191.7 kB / 3.254 GB, free: 76.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005828/7.555, allocations: 0.6485 MB / 3.255 GB, free: 75.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000615/7.556, allocations: 67.58 kB / 3.255 GB, free: 75.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-05/7.556, allocations: 23.94 kB / 3.255 GB, free: 75.65 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/7.556, allocations: 5.094 kB / 3.255 GB, free: 75.65 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000741/7.557, allocations: 461.9 kB / 3.255 GB, free: 75.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/7.557, allocations: 4 kB / 3.255 GB, free: 75.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.382e-06/7.557, allocations: 7.953 kB / 3.255 GB, free: 75.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/7.557, allocations: 104.1 kB / 3.255 GB, free: 75.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/7.557, allocations: 4 kB / 3.255 GB, free: 75.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000517/7.557, allocations: 51.64 kB / 3.255 GB, free: 75.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-05/7.558, allocations: 24 kB / 3.256 GB, free: 75.01 MB / 0.6355 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.0001308/7.558, allocations: 116.9 kB / 3.256 GB, free: 74.89 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005843/7.558, allocations: 417.4 kB / 3.256 GB, free: 74.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.137e-05/7.558, allocations: 51.39 kB / 3.256 GB, free: 74.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006572/7.559, allocations: 443.7 kB / 3.256 GB, free: 73.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/7.559, allocations: 11.94 kB / 3.256 GB, free: 73.96 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/7.559, allocations: 0 / 3.256 GB, free: 73.96 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005029/7.56, allocations: 0.6717 MB / 3.257 GB, free: 73.21 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/7.561, allocations: 1.157 MB / 3.258 GB, free: 72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/7.561, allocations: 0 / 3.258 GB, free: 72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/7.562, allocations: 195.9 kB / 3.258 GB, free: 71.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/7.562, allocations: 4 kB / 3.258 GB, free: 71.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-05/7.562, allocations: 4 kB / 3.258 GB, free: 71.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/7.564, allocations: 1.395 MB / 3.26 GB, free: 70.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/7.564, allocations: 0 / 3.26 GB, free: 70.29 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008417/7.565, allocations: 0.8124 MB / 3.261 GB, free: 69.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002065/7.565, allocations: 172.4 kB / 3.261 GB, free: 69.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.332e-05/7.565, allocations: 0 / 3.261 GB, free: 69.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000528/7.566, allocations: 59.84 kB / 3.261 GB, free: 69.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/7.566, allocations: 27.91 kB / 3.261 GB, free: 69.13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/7.566, allocations: 15.98 kB / 3.261 GB, free: 69.11 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002593/7.566, allocations: 282.9 kB / 3.261 GB, free: 68.84 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.653e-06/7.566, allocations: 0 / 3.261 GB, free: 68.84 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001228/7.567, allocations: 450.9 kB / 3.262 GB, free: 68.4 MB / 0.6355 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.002946/7.57, allocations: 3.243 MB / 3.265 GB, free: 65.22 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001662/7.572, allocations: 0.913 MB / 3.266 GB, free: 64.26 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/7.572, allocations: 0 / 3.266 GB, free: 64.26 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008315/7.573, allocations: 273 kB / 3.266 GB, free: 63.99 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/7.574, allocations: 310.1 kB / 3.266 GB, free: 63.69 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00236/7.577, allocations: 1.239 MB / 3.267 GB, free: 62.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/7.577, allocations: 0.9577 MB / 3.268 GB, free: 61.41 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008173/7.578, allocations: 224.6 kB / 3.269 GB, free: 61.19 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/7.578, allocations: 215.3 kB / 3.269 GB, free: 60.98 MB / 0.6355 GB Notification: Performance of SimCode: time 7.31e-07/7.578, allocations: 4 kB / 3.269 GB, free: 60.98 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05024/7.628, allocations: 27.26 MB / 3.295 GB, free: 33.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001497/7.629, allocations: 170.5 kB / 3.296 GB, free: 33.62 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.94/10.57, allocations: 0 / 3.296 GB, free: 33.62 MB / 0.6355 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)