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.001362/0.001362, allocations: 104 kB / 16.94 MB, free: 6.191 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.001345/0.001345, allocations: 189.3 kB / 17.86 MB, free: 5.293 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.416/1.416, allocations: 222.9 MB / 241.6 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.827/0.827, allocations: 125.4 MB / 417.1 MB, free: 13.63 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 67.89 kB / 0.4948 GB, free: 4.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4105, allocations: 78.55 MB / 0.5715 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MassFraction): time 0.6267/1.037, allocations: 186.8 MB / 0.7539 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008761/1.046, allocations: 4.57 MB / 0.7584 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/1.048, allocations: 33.19 kB / 0.7584 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001397/1.049, allocations: 407.8 kB / 0.7588 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004323/1.053, allocations: 1.334 MB / 0.7601 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002593/1.056, allocations: 0.7571 MB / 0.7609 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003812/1.06, allocations: 1.967 MB / 0.7628 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001375/1.061, allocations: 0.6583 MB / 0.7634 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004667/1.066, allocations: 1.267 MB / 0.7647 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00162/1.067, allocations: 0.5788 MB / 0.7652 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001901/1.068, allocations: 65.47 kB / 0.7653 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003974/1.072, allocations: 1.365 MB / 0.7666 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004609/1.072, allocations: 291.8 kB / 0.7669 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008531/1.073, allocations: 424.6 kB / 0.7673 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003338/1.076, allocations: 1.457 MB / 0.7687 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.076, allocations: 0 / 0.7687 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.114e-06/1.076, allocations: 0.9688 kB / 0.7687 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.436e-05/1.076, allocations: 0 / 0.7687 GB, free: 1.508 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.002108/1.078, allocations: 1.094 MB / 0.7698 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/1.079, allocations: 8.812 kB / 0.7698 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/1.08, allocations: 205.8 kB / 0.77 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/1.081, allocations: 0.5795 MB / 0.7706 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.693e-05/1.081, allocations: 42.38 kB / 0.7706 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/1.081, allocations: 55.47 kB / 0.7707 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/1.082, allocations: 0.6215 MB / 0.7713 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/1.082, allocations: 4.969 kB / 0.7713 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.718e-05/1.083, allocations: 26.05 kB / 0.7713 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.427e-05/1.083, allocations: 22.48 kB / 0.7713 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008927/1.083, allocations: 0.4918 MB / 0.7718 GB, free: 16.45 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.003644/1.087, allocations: 2.487 MB / 0.7742 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006872/1.088, allocations: 354 kB / 0.7746 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003398/1.088, allocations: 216.4 kB / 0.7748 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007187/1.089, allocations: 309.2 kB / 0.7751 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/1.089, allocations: 43.95 kB / 0.7751 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 3.085e-06/1.089, allocations: 0 / 0.7751 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36): time 0.001262/1.09, allocations: 0.5494 MB / 0.7756 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/1.09, allocations: 56.03 kB / 0.7757 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005882/1.091, allocations: 0.5015 MB / 0.7762 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.897e-05/1.091, allocations: 37.52 kB / 0.7762 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/1.091, allocations: 318.3 kB / 0.7765 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/1.091, allocations: 124 kB / 0.7766 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/1.091, allocations: 88.91 kB / 0.7767 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001879/1.092, allocations: 362 kB / 0.7771 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/1.092, allocations: 157.1 kB / 0.7772 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/1.092, allocations: 257.5 kB / 0.7775 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005037/1.093, allocations: 407.8 kB / 0.7779 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.093, allocations: 0.7188 kB / 0.7779 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007251/1.093, allocations: 494.2 kB / 0.7783 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/1.093, allocations: 9.406 kB / 0.7783 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.093, allocations: 2.812 kB / 0.7783 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/1.093, allocations: 4.359 kB / 0.7783 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005619/1.094, allocations: 109.6 kB / 0.7784 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004659/1.095, allocations: 0.5966 MB / 0.779 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005258/1.095, allocations: 43.81 kB / 0.7791 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/1.095, allocations: 16.12 kB / 0.7791 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004341/1.096, allocations: 330.9 kB / 0.7794 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003071/1.096, allocations: 254.7 kB / 0.7796 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004852/1.096, allocations: 404.1 kB / 0.78 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/1.096, allocations: 1.062 kB / 0.78 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006587/1.097, allocations: 487.8 kB / 0.7805 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/1.097, allocations: 7.531 kB / 0.7805 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/1.097, allocations: 2.094 kB / 0.7805 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.059e-06/1.097, allocations: 5.594 kB / 0.7805 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000333/1.097, allocations: 91.28 kB / 0.7806 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/1.097, allocations: 6.062 kB / 0.7806 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004718/1.098, allocations: 32.81 kB / 0.7806 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.364e-05/1.098, allocations: 20.23 kB / 0.7807 GB, free: 12.62 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.0002081/1.098, allocations: 212.1 kB / 0.7809 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/1.098, allocations: 58.41 kB / 0.7809 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006863/1.099, allocations: 451.5 kB / 0.7813 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/1.099, allocations: 6.984 kB / 0.7814 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.099, allocations: 0 / 0.7814 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006474/1.1, allocations: 0.6604 MB / 0.782 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/1.101, allocations: 1.201 MB / 0.7832 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.101, allocations: 0 / 0.7832 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004471/1.102, allocations: 92.47 kB / 0.7833 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/1.102, allocations: 7.344 kB / 0.7833 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/1.102, allocations: 9.594 kB / 0.7833 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003949/1.102, allocations: 0.592 MB / 0.7839 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.102, allocations: 4.641 kB / 0.7839 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008338/1.103, allocations: 0.7116 MB / 0.7846 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/1.103, allocations: 174.9 kB / 0.7847 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.596e-05/1.104, allocations: 9.969 kB / 0.7847 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/1.104, allocations: 19.52 kB / 0.7847 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/1.104, allocations: 30.17 kB / 0.7848 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/1.104, allocations: 14.94 kB / 0.7848 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004293/1.104, allocations: 356.9 kB / 0.7851 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/1.104, allocations: 4.094 kB / 0.7851 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00107/1.106, allocations: 344.8 kB / 0.7855 GB, free: 10.45 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.0005428/1.106, allocations: 199.6 kB / 0.7857 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001207/1.107, allocations: 0.6386 MB / 0.7863 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.107, allocations: 0.7188 kB / 0.7863 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002755/1.108, allocations: 189.9 kB / 0.7865 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/1.109, allocations: 353.2 kB / 0.7868 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/1.112, allocations: 1.405 MB / 0.7882 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006146/1.112, allocations: 0.9425 MB / 0.7891 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/1.112, allocations: 51 kB / 0.7891 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of SimCode: time 3.71e-07/1.112, allocations: 1.203 kB / 0.7891 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of Templates: time 0.02002/1.132, allocations: 12.61 MB / 0.8015 GB, free: 6.754 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)