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.4.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.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6498/0.6498, allocations: 117.9 MB / 133.9 MB, free: 4.488 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.001002/0.001002, allocations: 178.8 kB / 161.7 MB, free: 2.711 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.4 MB / 394.8 MB, free: 20.84 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.0007797/0.0007797, allocations: 90.36 kB / 470.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004108/0.000411, allocations: 12 kB / 0.5423 GB, free: 6.797 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3734, allocations: 74.54 MB / 0.6151 GB, free: 54.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.62/4.993, allocations: 2.159 GB / 2.774 GB, free: 241.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000333/4.993, allocations: 91.58 kB / 2.775 GB, free: 241.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.193/6.187, allocations: 478.8 MB / 3.242 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.773e-06/6.187, allocations: 0 / 3.242 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001008/6.187, allocations: 23.98 kB / 3.242 GB, free: 20.63 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.002845/6.19, allocations: 1.141 MB / 3.243 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/6.19, allocations: 15.91 kB / 3.243 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/6.191, allocations: 207.8 kB / 3.243 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/6.193, allocations: 0.6431 MB / 3.244 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.241e-05/6.193, allocations: 46.44 kB / 3.244 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/6.193, allocations: 56 kB / 3.244 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/6.195, allocations: 0.6556 MB / 3.245 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/6.195, allocations: 4 kB / 3.245 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.567e-05/6.195, allocations: 23.98 kB / 3.245 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.843e-05/6.195, allocations: 21.31 kB / 3.245 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/6.196, allocations: 0.5243 MB / 3.245 GB, free: 17.18 MB / 0.6355 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.003071/6.199, allocations: 2.416 MB / 3.248 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000787/6.2, allocations: 418.5 kB / 3.248 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003091/6.2, allocations: 229.7 kB / 3.248 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004521/6.201, allocations: 307.7 kB / 3.249 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/6.201, allocations: 38.59 kB / 3.249 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=38): time 2.725e-06/6.201, allocations: 0 / 3.249 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38): time 0.00167/6.203, allocations: 0.6508 MB / 3.249 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/6.203, allocations: 55.41 kB / 3.249 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005899/6.203, allocations: 0.491 MB / 3.25 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.018e-05/6.203, allocations: 37.7 kB / 3.25 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/6.203, allocations: 312.5 kB / 3.25 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/6.204, allocations: 138 kB / 3.25 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/6.204, allocations: 15.94 kB / 3.25 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.32e-05/6.204, allocations: 370.8 kB / 3.251 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/6.204, allocations: 181 kB / 3.251 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003826/6.204, allocations: 305.9 kB / 3.251 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007089/6.205, allocations: 0.5018 MB / 3.252 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/6.205, allocations: 0 / 3.252 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001011/6.206, allocations: 0.6314 MB / 3.252 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.379e-05/6.206, allocations: 205.2 kB / 3.252 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/6.206, allocations: 4 kB / 3.252 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/6.206, allocations: 4 kB / 3.252 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/6.207, allocations: 187.7 kB / 3.253 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002355/6.21, allocations: 1.544 MB / 3.254 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007748/6.211, allocations: 79.58 kB / 3.254 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.391e-05/6.211, allocations: 27.94 kB / 3.254 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.564e-06/6.211, allocations: 0 / 3.254 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008418/6.212, allocations: 0.5406 MB / 3.255 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/6.212, allocations: 4 kB / 3.255 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.43e-06/6.212, allocations: 7.938 kB / 3.255 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/6.212, allocations: 99.83 kB / 3.255 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/6.212, allocations: 4 kB / 3.255 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006695/6.213, allocations: 75.64 kB / 3.255 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.061e-05/6.213, allocations: 24 kB / 3.255 GB, free: 6.719 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 () * Number of clocked 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.0004115/6.213, allocations: 308.9 kB / 3.255 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/6.213, allocations: 59.28 kB / 3.255 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008408/6.214, allocations: 491.4 kB / 3.256 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/6.214, allocations: 4 kB / 3.256 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/6.214, allocations: 0 / 3.256 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006414/6.215, allocations: 0.7031 MB / 3.256 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002046/6.217, allocations: 1.281 MB / 3.258 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/6.217, allocations: 0 / 3.258 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/6.218, allocations: 191.9 kB / 3.258 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/6.218, allocations: 7.984 kB / 3.258 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.563e-05/6.218, allocations: 12 kB / 3.258 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/6.22, allocations: 1.505 MB / 3.259 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/6.22, allocations: 0 / 3.259 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/6.221, allocations: 0.7928 MB / 3.26 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003148/6.221, allocations: 184.4 kB / 3.26 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.306e-05/6.221, allocations: 8 kB / 3.26 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005805/6.222, allocations: 63.73 kB / 3.26 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.558e-05/6.222, allocations: 23.95 kB / 3.26 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/6.222, allocations: 20 kB / 3.26 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003977/6.222, allocations: 354.8 kB / 3.261 GB, free: 384 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/6.222, allocations: 0 / 3.261 GB, free: 384 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.3776/6.6, allocations: 485.3 kB / 3.261 GB, free: 123.9 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 () * Number of clocked 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.002994/6.603, allocations: 1.405 MB / 3.263 GB, free: 123.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00282/6.606, allocations: 0.9966 MB / 3.264 GB, free: 123.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/6.606, allocations: 1.125 kB / 3.264 GB, free: 123.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001242/6.607, allocations: 305.2 kB / 3.264 GB, free: 123.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002227/6.609, allocations: 362.5 kB / 3.264 GB, free: 123.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/6.613, allocations: 1.715 MB / 3.266 GB, free: 122.6 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005656/6.613, allocations: 0.9444 MB / 3.267 GB, free: 121.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001107/6.615, allocations: 196.2 kB / 3.267 GB, free: 121.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/6.615, allocations: 50.62 kB / 3.267 GB, free: 121.9 MB / 0.6355 GB Notification: Performance of SimCode: time 6.91e-07/6.615, allocations: 3.875 kB / 3.267 GB, free: 121.9 MB / 0.6355 GB Notification: Performance of Templates: time 0.04444/6.659, allocations: 29.19 MB / 3.296 GB, free: 121.5 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)