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.001706/0.001706, allocations: 105.3 kB / 16.52 MB, free: 6.266 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.001853/0.001853, allocations: 193.7 kB / 17.44 MB, free: 5.887 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.362/1.362, allocations: 222.9 MB / 241.1 MB, free: 13.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7463/0.7463, allocations: 115.3 MB / 406.6 MB, free: 6.422 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001459, allocations: 63.91 kB / 493.5 MB, free: 0.8672 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3888, allocations: 76.18 MB / 0.5564 GB, free: 35.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MassFraction): time 0.2075/0.5963, allocations: 184.5 MB / 0.7366 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008145/0.6045, allocations: 4.634 MB / 0.7411 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.6058, allocations: 27.81 kB / 0.7411 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.6072, allocations: 346.1 kB / 0.7415 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003792/0.6111, allocations: 1.268 MB / 0.7427 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002167/0.6133, allocations: 0.6787 MB / 0.7434 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003174/0.6164, allocations: 2.749 MB / 0.7461 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.6175, allocations: 0.5627 MB / 0.7466 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004261/0.6218, allocations: 0.9575 MB / 0.7475 GB, free: 368 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4153/1.037, allocations: 0.5992 MB / 0.7481 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002597/1.037, allocations: 34.59 kB / 0.7482 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004207/1.042, allocations: 1.553 MB / 0.7497 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005672/1.042, allocations: 267 kB / 0.7499 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009226/1.043, allocations: 382 kB / 0.7503 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002132/1.045, allocations: 1.081 MB / 0.7513 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/1.045, allocations: 0 / 0.7513 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.422e-06/1.045, allocations: 0.5312 kB / 0.7513 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.328e-05/1.045, allocations: 1.812 kB / 0.7513 GB, free: 3.754 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.002057/1.047, allocations: 1.097 MB / 0.7524 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/1.047, allocations: 9.969 kB / 0.7524 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/1.049, allocations: 202 kB / 0.7526 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/1.05, allocations: 0.5827 MB / 0.7532 GB, free: 18.81 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.34e-05/1.05, allocations: 40.34 kB / 0.7532 GB, free: 18.81 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/1.05, allocations: 54.48 kB / 0.7533 GB, free: 18.81 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/1.052, allocations: 0.6226 MB / 0.7539 GB, free: 18.74 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/1.052, allocations: 2.5 kB / 0.7539 GB, free: 18.74 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.935e-05/1.052, allocations: 22.47 kB / 0.7539 GB, free: 18.74 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.314e-05/1.052, allocations: 23.31 kB / 0.7539 GB, free: 18.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009668/1.053, allocations: 0.4905 MB / 0.7544 GB, free: 18.73 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.003666/1.056, allocations: 2.394 MB / 0.7568 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007375/1.057, allocations: 357.8 kB / 0.7571 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003454/1.058, allocations: 208.6 kB / 0.7573 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006255/1.058, allocations: 308.5 kB / 0.7576 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/1.058, allocations: 37.2 kB / 0.7576 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 2.716e-06/1.058, allocations: 0 / 0.7576 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36): time 0.001406/1.06, allocations: 0.5556 MB / 0.7582 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/1.06, allocations: 63.11 kB / 0.7582 GB, free: 16.94 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007348/1.06, allocations: 0.4953 MB / 0.7587 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/1.061, allocations: 32.42 kB / 0.7587 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00025/1.061, allocations: 319.2 kB / 0.759 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/1.061, allocations: 130.8 kB / 0.7592 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/1.061, allocations: 84.38 kB / 0.7592 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001837/1.061, allocations: 362.5 kB / 0.7596 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/1.062, allocations: 159.9 kB / 0.7597 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000365/1.062, allocations: 256.1 kB / 0.76 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006415/1.063, allocations: 414 kB / 0.7604 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.063, allocations: 0.7812 kB / 0.7604 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008977/1.064, allocations: 481.2 kB / 0.7608 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/1.064, allocations: 5.531 kB / 0.7609 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/1.064, allocations: 5.906 kB / 0.7609 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/1.064, allocations: 8.922 kB / 0.7609 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006598/1.064, allocations: 107.3 kB / 0.761 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004423/1.065, allocations: 0.6004 MB / 0.7616 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007711/1.065, allocations: 76.83 kB / 0.7616 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.863e-05/1.066, allocations: 17.64 kB / 0.7616 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005906/1.066, allocations: 327.9 kB / 0.762 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004004/1.067, allocations: 260.9 kB / 0.7622 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000643/1.067, allocations: 401.7 kB / 0.7626 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.236e-06/1.067, allocations: 0.75 kB / 0.7626 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0009006/1.068, allocations: 481.6 kB / 0.763 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/1.068, allocations: 9.938 kB / 0.7631 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.068, allocations: 5.047 kB / 0.7631 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/1.068, allocations: 5.859 kB / 0.7631 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/1.069, allocations: 88.05 kB / 0.7632 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/1.069, allocations: 8.078 kB / 0.7632 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006952/1.069, allocations: 68.47 kB / 0.7632 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.627e-05/1.069, allocations: 22.23 kB / 0.7632 GB, free: 14.95 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.0002347/1.07, allocations: 204.2 kB / 0.7634 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/1.07, allocations: 59.78 kB / 0.7635 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009949/1.071, allocations: 440.9 kB / 0.7639 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/1.071, allocations: 3.469 kB / 0.7639 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.071, allocations: 0.9375 kB / 0.7639 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007508/1.072, allocations: 0.6527 MB / 0.7646 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/1.074, allocations: 1.213 MB / 0.7657 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/1.074, allocations: 6.094 kB / 0.7658 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000516/1.074, allocations: 97.17 kB / 0.7658 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/1.074, allocations: 2.938 kB / 0.7658 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/1.074, allocations: 13.75 kB / 0.7659 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003572/1.075, allocations: 0.59 MB / 0.7664 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/1.075, allocations: 2.656 kB / 0.7664 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/1.076, allocations: 0.7165 MB / 0.7671 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003178/1.076, allocations: 179.8 kB / 0.7673 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.543e-05/1.076, allocations: 16.66 kB / 0.7673 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004551/1.077, allocations: 33.95 kB / 0.7674 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/1.077, allocations: 29.16 kB / 0.7674 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/1.077, allocations: 16.34 kB / 0.7674 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005154/1.077, allocations: 356.9 kB / 0.7677 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/1.077, allocations: 0 / 0.7677 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001206/1.079, allocations: 349.8 kB / 0.7681 GB, free: 12.77 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.0005441/1.079, allocations: 203.9 kB / 0.7683 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001335/1.08, allocations: 0.5874 MB / 0.7688 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/1.08, allocations: 1.312 kB / 0.7688 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000349/1.081, allocations: 183.7 kB / 0.769 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/1.083, allocations: 366.4 kB / 0.7694 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/1.085, allocations: 1.623 MB / 0.771 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006663/1.086, allocations: 0.9396 MB / 0.7719 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/1.086, allocations: 53.33 kB / 0.7719 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of SimCode: time 7.92e-07/1.086, allocations: 0 / 0.7719 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of Templates: time 0.02496/1.111, allocations: 12.68 MB / 0.7843 GB, free: 9.965 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)