Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.conf.json 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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction") translateModel(IBPSA.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 107 kB / 17.08 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001278, allocations: 195.1 kB / 18.01 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.699/0.699, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 66.06 kB / 0.5583 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1324, allocations: 76.18 MB / 0.6327 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MassFraction): time 0.5136/0.6461, allocations: 186.8 MB / 0.8151 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006565/0.6527, allocations: 4.564 MB / 0.8196 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.6538, allocations: 31.38 kB / 0.8196 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.6549, allocations: 416.3 kB / 0.82 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003306/0.6582, allocations: 1.343 MB / 0.8213 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.6601, allocations: 0.7531 MB / 0.8221 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002193/0.6623, allocations: 1.953 MB / 0.824 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008084/0.6632, allocations: 0.667 MB / 0.8246 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002644/0.6658, allocations: 1.093 MB / 0.8257 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008068/0.6666, allocations: 0.5798 MB / 0.8263 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.284e-05/0.6667, allocations: 69.09 kB / 0.8263 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002308/0.669, allocations: 1.379 MB / 0.8277 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002567/0.6693, allocations: 292.1 kB / 0.828 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003873/0.6697, allocations: 413.2 kB / 0.8283 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001916/0.6716, allocations: 1.478 MB / 0.8298 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6716, allocations: 0 / 0.8298 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6716, allocations: 0 / 0.8298 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.948e-06/0.6717, allocations: 0 / 0.8298 GB, free: 4.262 MB / 0.5919 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.00151/0.6732, allocations: 1.095 MB / 0.8309 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.6732, allocations: 14.12 kB / 0.8309 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.6744, allocations: 204.7 kB / 0.8311 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009516/0.6754, allocations: 0.6057 MB / 0.8317 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.6754, allocations: 41.78 kB / 0.8317 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.328e-05/0.6755, allocations: 57.94 kB / 0.8318 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008739/0.6764, allocations: 0.6228 MB / 0.8324 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.6764, allocations: 3.984 kB / 0.8324 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.835e-05/0.6765, allocations: 24.97 kB / 0.8324 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/0.6765, allocations: 18.66 kB / 0.8324 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006885/0.6772, allocations: 0.4886 MB / 0.8329 GB, free: 2.137 MB / 0.5919 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.002607/0.6798, allocations: 2.401 MB / 0.8352 GB, free: 56 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000565/0.6804, allocations: 366 kB / 0.8356 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/0.6807, allocations: 217.1 kB / 0.8358 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005156/0.6812, allocations: 303 kB / 0.8361 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.6812, allocations: 30.56 kB / 0.8361 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 1.824e-06/0.6812, allocations: 4 kB / 0.8361 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36): time 0.001026/0.6823, allocations: 0.5508 MB / 0.8366 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.6823, allocations: 58.62 kB / 0.8367 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004885/0.6828, allocations: 0.5015 MB / 0.8372 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.6828, allocations: 40.45 kB / 0.8372 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.6831, allocations: 317.2 kB / 0.8375 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.459e-05/0.6832, allocations: 129.5 kB / 0.8377 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.6833, allocations: 85.09 kB / 0.8377 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.6834, allocations: 371.6 kB / 0.8381 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.6836, allocations: 151.5 kB / 0.8382 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/0.6839, allocations: 261.4 kB / 0.8385 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00049/0.6844, allocations: 409.1 kB / 0.8389 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.6844, allocations: 0 / 0.8389 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006331/0.6851, allocations: 491.8 kB / 0.8393 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.6851, allocations: 5.719 kB / 0.8394 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.6851, allocations: 2.281 kB / 0.8394 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.6851, allocations: 4.688 kB / 0.8394 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005524/0.6857, allocations: 102.2 kB / 0.8395 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003584/0.6861, allocations: 0.5959 MB / 0.84 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004528/0.6865, allocations: 48.55 kB / 0.8401 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.6866, allocations: 16.81 kB / 0.8401 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003936/0.687, allocations: 333.4 kB / 0.8404 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002825/0.6873, allocations: 255.1 kB / 0.8407 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004733/0.6878, allocations: 405.4 kB / 0.841 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.364e-06/0.6878, allocations: 4.562 kB / 0.8411 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006168/0.6884, allocations: 484.1 kB / 0.8415 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.6884, allocations: 7.156 kB / 0.8415 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.6884, allocations: 7.312 kB / 0.8415 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.412e-06/0.6884, allocations: 8.75 kB / 0.8415 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.6887, allocations: 92.41 kB / 0.8416 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.6888, allocations: 8.656 kB / 0.8416 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/0.6892, allocations: 33.55 kB / 0.8417 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.6892, allocations: 16.78 kB / 0.8417 GB, free: 11.49 MB / 0.6075 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.6894, allocations: 208 kB / 0.8419 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.775e-05/0.6895, allocations: 64.5 kB / 0.8419 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006589/0.6901, allocations: 443.8 kB / 0.8424 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.6901, allocations: 9.406 kB / 0.8424 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.6901, allocations: 0 / 0.8424 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000575/0.6907, allocations: 0.6501 MB / 0.843 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.6923, allocations: 1.206 MB / 0.8442 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.6923, allocations: 2.562 kB / 0.8442 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004296/0.6927, allocations: 90.05 kB / 0.8443 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.6928, allocations: 6.859 kB / 0.8443 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/0.6928, allocations: 8.562 kB / 0.8443 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002726/0.6931, allocations: 0.5936 MB / 0.8449 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.6931, allocations: 6.031 kB / 0.8449 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007754/0.6939, allocations: 0.7108 MB / 0.8456 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002399/0.6941, allocations: 177.5 kB / 0.8457 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.264e-05/0.6942, allocations: 10.66 kB / 0.8457 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/0.6946, allocations: 15.59 kB / 0.8458 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.6946, allocations: 28.47 kB / 0.8458 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/0.6947, allocations: 18.05 kB / 0.8458 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003656/0.695, allocations: 357 kB / 0.8461 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.695, allocations: 0 / 0.8461 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008282/0.6959, allocations: 348.6 kB / 0.8465 GB, free: 7.949 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004288/0.6963, allocations: 203.2 kB / 0.8467 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001042/0.6974, allocations: 0.5954 MB / 0.8473 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6974, allocations: 0 / 0.8473 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002799/0.6977, allocations: 183.8 kB / 0.8474 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.6992, allocations: 357.8 kB / 0.8478 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.7012, allocations: 1.397 MB / 0.8491 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004578/0.7016, allocations: 0.9375 MB / 0.8501 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.7018, allocations: 55.42 kB / 0.8501 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.7018, allocations: 0 / 0.8501 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of Templates: time 0.01564/0.7174, allocations: 12.77 MB / 0.8626 GB, free: 7.504 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)