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.0009837/0.0009837, allocations: 92.66 kB / 16.67 MB, free: 6.594 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.001094/0.001094, allocations: 182.5 kB / 17.58 MB, free: 6.188 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.397/1.397, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7382/0.7382, allocations: 115.5 MB / 408.2 MB, free: 7.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003958, allocations: 12 kB / 496.5 MB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4241, allocations: 77.52 MB / 0.5606 GB, free: 36.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MassFraction): time 0.2243/0.6485, allocations: 182.1 MB / 0.7384 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00804/0.6566, allocations: 4.582 MB / 0.7429 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009963/0.6576, allocations: 31.81 kB / 0.7429 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.6587, allocations: 342.1 kB / 0.7432 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003683/0.6624, allocations: 1.268 MB / 0.7445 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002001/0.6644, allocations: 0.6597 MB / 0.7451 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00338/0.6678, allocations: 2.763 MB / 0.7478 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000935/0.6688, allocations: 0.5504 MB / 0.7484 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003257/0.6721, allocations: 0.9301 MB / 0.7493 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.6734, allocations: 0.5964 MB / 0.7499 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.864e-05/0.6735, allocations: 28 kB / 0.7499 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4038/1.077, allocations: 1.551 MB / 0.7514 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005592/1.078, allocations: 243.8 kB / 0.7516 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007866/1.079, allocations: 393.6 kB / 0.752 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002255/1.081, allocations: 1.06 MB / 0.753 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/1.081, allocations: 0.5156 kB / 0.753 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.876e-06/1.081, allocations: 0 / 0.753 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.831e-05/1.081, allocations: 3 kB / 0.753 GB, free: 4.59 MB / 0.5762 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.001957/1.083, allocations: 0.953 MB / 0.754 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.083, allocations: 9.906 kB / 0.754 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/1.085, allocations: 200.4 kB / 0.7542 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/1.086, allocations: 0.5823 MB / 0.7547 GB, free: 19.7 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.67e-05/1.086, allocations: 44.11 kB / 0.7548 GB, free: 19.7 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/1.086, allocations: 53.06 kB / 0.7548 GB, free: 19.7 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/1.087, allocations: 0.6232 MB / 0.7554 GB, free: 19.63 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/1.087, allocations: 2.906 kB / 0.7554 GB, free: 19.63 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.962e-05/1.087, allocations: 19.09 kB / 0.7555 GB, free: 19.63 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-05/1.087, allocations: 22.95 kB / 0.7555 GB, free: 19.63 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009824/1.088, allocations: 0.4933 MB / 0.756 GB, free: 19.62 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.003714/1.092, allocations: 2.39 MB / 0.7583 GB, free: 18.33 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007199/1.093, allocations: 356.6 kB / 0.7586 GB, free: 18.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003509/1.093, allocations: 215.2 kB / 0.7589 GB, free: 18.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006359/1.094, allocations: 323.6 kB / 0.7592 GB, free: 18.01 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/1.094, allocations: 36.94 kB / 0.7592 GB, free: 17.97 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 2.405e-06/1.094, allocations: 0 / 0.7592 GB, free: 17.97 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36): time 0.001292/1.095, allocations: 0.5606 MB / 0.7597 GB, free: 17.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/1.095, allocations: 54.88 kB / 0.7598 GB, free: 17.84 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007277/1.096, allocations: 0.4978 MB / 0.7603 GB, free: 17.71 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.577e-05/1.096, allocations: 35.39 kB / 0.7603 GB, free: 17.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/1.096, allocations: 317 kB / 0.7606 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/1.097, allocations: 134.8 kB / 0.7607 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-05/1.097, allocations: 37.8 kB / 0.7608 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.097, allocations: 367.2 kB / 0.7611 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/1.097, allocations: 153.9 kB / 0.7613 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/1.097, allocations: 255.3 kB / 0.7615 GB, free: 17 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005955/1.098, allocations: 412.9 kB / 0.7619 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.098, allocations: 0.9688 kB / 0.7619 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008553/1.099, allocations: 485.2 kB / 0.7624 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.459e-05/1.099, allocations: 149.7 kB / 0.7625 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/1.099, allocations: 6.188 kB / 0.7625 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/1.099, allocations: 8.922 kB / 0.7625 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006248/1.1, allocations: 102.7 kB / 0.7626 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003938/1.1, allocations: 0.5921 MB / 0.7632 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007582/1.101, allocations: 75 kB / 0.7633 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/1.101, allocations: 14.41 kB / 0.7633 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/1.101, allocations: 8.375 kB / 0.7633 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006858/1.102, allocations: 407.6 kB / 0.7637 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/1.102, allocations: 2.594 kB / 0.7637 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/1.102, allocations: 9.047 kB / 0.7637 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/1.102, allocations: 83.91 kB / 0.7638 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-06/1.102, allocations: 5.047 kB / 0.7638 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006007/1.103, allocations: 82.09 kB / 0.7639 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-05/1.103, allocations: 24.17 kB / 0.7639 GB, free: 16.02 MB / 0.5919 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.000444/1.103, allocations: 304.1 kB / 0.7642 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/1.103, allocations: 55.22 kB / 0.7642 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008546/1.104, allocations: 445 kB / 0.7647 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/1.104, allocations: 5.047 kB / 0.7647 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.104, allocations: 0 / 0.7647 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007114/1.105, allocations: 0.6579 MB / 0.7653 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/1.107, allocations: 1.206 MB / 0.7665 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.107, allocations: 3 kB / 0.7665 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004978/1.107, allocations: 98.77 kB / 0.7666 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/1.107, allocations: 3.656 kB / 0.7666 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.564e-05/1.108, allocations: 11.28 kB / 0.7666 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003149/1.108, allocations: 0.5946 MB / 0.7672 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.108, allocations: 3.031 kB / 0.7672 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009633/1.109, allocations: 0.7147 MB / 0.7679 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002657/1.109, allocations: 183.4 kB / 0.7681 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.446e-05/1.109, allocations: 17.55 kB / 0.7681 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004484/1.11, allocations: 34.48 kB / 0.7681 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/1.11, allocations: 31.25 kB / 0.7681 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/1.11, allocations: 13.91 kB / 0.7681 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004639/1.11, allocations: 359.9 kB / 0.7685 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.11, allocations: 0 / 0.7685 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001124/1.111, allocations: 349.8 kB / 0.7688 GB, free: 13.83 MB / 0.5919 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.0004622/1.112, allocations: 192.2 kB / 0.769 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001226/1.113, allocations: 0.5905 MB / 0.7696 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.113, allocations: 1.125 kB / 0.7696 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003275/1.113, allocations: 189.4 kB / 0.7698 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/1.115, allocations: 362.9 kB / 0.7701 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/1.118, allocations: 1.719 MB / 0.7718 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/1.118, allocations: 0.9387 MB / 0.7727 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/1.118, allocations: 54.67 kB / 0.7728 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/1.118, allocations: 4.906 kB / 0.7728 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of Templates: time 0.02098/1.139, allocations: 12.57 MB / 0.785 GB, free: 11.08 MB / 0.5919 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)