Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Sensors.Examples.MassFraction.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003971/0.003976, allocations: 353.3 kB / 15.94 MB, free: 6.211 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.504/1.504, allocations: 165.8 MB / 182.5 MB, free: 5.461 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.045/4.045, allocations: 410.8 MB / 0.5995 GB, free: 15.16 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00176/0.001759, allocations: 198.4 kB / 0.6662 GB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004599/0.0004601, allocations: 16 kB / 0.7423 GB, free: 8.957 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3828, allocations: 67.44 MB / 0.8081 GB, free: 28.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MassFraction): time 0.6627/1.045, allocations: 167.9 MB / 0.9721 GB, free: 1.188 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.008/1.054, allocations: 4.579 MB / 0.9766 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009287/1.055, allocations: 23.38 kB / 0.9766 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001151/1.056, allocations: 376.6 kB / 0.977 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004334/1.06, allocations: 1.334 MB / 0.9783 GB, free: 500 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003144/1.063, allocations: 0.8443 MB / 0.9791 GB, free: 436 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002989/1.066, allocations: 2.318 MB / 0.9813 GB, free: 84 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008872/1.067, allocations: 494.1 kB / 0.9818 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001931/1.069, allocations: 0.7811 MB / 0.9826 GB, free: 15.59 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009473/1.07, allocations: 0.5623 MB / 0.9831 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.459e-05/1.07, allocations: 31.64 kB / 0.9832 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001915/1.072, allocations: 0.6155 MB / 0.9838 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003409/1.072, allocations: 244.3 kB / 0.984 GB, free: 15.1 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002622/1.073, allocations: 174 kB / 0.9842 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001403/1.074, allocations: 0.9296 MB / 0.9851 GB, free: 14.59 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.074, allocations: 0 / 0.9851 GB, free: 14.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.921e-06/1.074, allocations: 0 / 0.9851 GB, free: 14.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.158e-05/1.074, allocations: 0 / 0.9851 GB, free: 14.59 MB / 490.7 MB 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.001861/1.076, allocations: 0.9306 MB / 0.986 GB, free: 13.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/1.076, allocations: 9.375 kB / 0.986 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/1.078, allocations: 208 kB / 0.9862 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002089/1.08, allocations: 0.555 MB / 0.9867 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.422e-05/1.08, allocations: 37.91 kB / 0.9868 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002594/1.08, allocations: 63.53 kB / 0.9868 GB, free: 13.44 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002709/1.083, allocations: 0.6142 MB / 0.9874 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.987e-05/1.083, allocations: 0 / 0.9874 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/1.083, allocations: 24.88 kB / 0.9874 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-05/1.083, allocations: 22.89 kB / 0.9875 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002037/1.085, allocations: 499.1 kB / 0.9879 GB, free: 13.16 MB / 490.7 MB 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.007046/1.093, allocations: 2.39 MB / 0.9903 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/1.094, allocations: 357.1 kB / 0.9906 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007583/1.095, allocations: 215.1 kB / 0.9908 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001279/1.096, allocations: 319.5 kB / 0.9911 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.916e-05/1.096, allocations: 41.33 kB / 0.9912 GB, free: 11.02 MB / 490.7 MB Notification: Performance of pre-optimization done (n=36): time 6.025e-06/1.096, allocations: 3.938 kB / 0.9912 GB, free: 11.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=36): time 0.002822/1.099, allocations: 0.5407 MB / 0.9917 GB, free: 10.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.542e-05/1.099, allocations: 57.16 kB / 0.9917 GB, free: 10.83 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/1.101, allocations: 495.8 kB / 0.9922 GB, free: 10.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.802e-05/1.101, allocations: 35.7 kB / 0.9923 GB, free: 10.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004818/1.101, allocations: 317 kB / 0.9926 GB, free: 10.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002822/1.101, allocations: 132.5 kB / 0.9927 GB, free: 10.33 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/1.102, allocations: 7.625 kB / 0.9927 GB, free: 10.33 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003373/1.102, allocations: 364.4 kB / 0.993 GB, free: 10 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006148/1.103, allocations: 141.8 kB / 0.9932 GB, free: 9.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008533/1.103, allocations: 267.7 kB / 0.9934 GB, free: 9.836 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007482/1.104, allocations: 187.5 kB / 0.9936 GB, free: 9.812 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.356e-05/1.104, allocations: 0 / 0.9936 GB, free: 9.812 MB / 490.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001943/1.106, allocations: 480.8 kB / 0.9941 GB, free: 9.688 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002019/1.106, allocations: 161.3 kB / 0.9942 GB, free: 9.516 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/1.106, allocations: 2.875 kB / 0.9942 GB, free: 9.516 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.663e-05/1.106, allocations: 5.094 kB / 0.9942 GB, free: 9.516 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/1.108, allocations: 104 kB / 0.9943 GB, free: 9.492 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008237/1.109, allocations: 0.5839 MB / 0.9949 GB, free: 8.906 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/1.11, allocations: 75.58 kB / 0.995 GB, free: 8.867 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.705e-05/1.11, allocations: 17.22 kB / 0.995 GB, free: 8.867 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/1.11, allocations: 6.938 kB / 0.995 GB, free: 8.863 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001624/1.112, allocations: 409.3 kB / 0.9954 GB, free: 8.793 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.112, allocations: 0 / 0.9954 GB, free: 8.793 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/1.112, allocations: 5 kB / 0.9954 GB, free: 8.793 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00093/1.113, allocations: 89.59 kB / 0.9955 GB, free: 8.777 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.35e-05/1.113, allocations: 9.062 kB / 0.9955 GB, free: 8.773 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/1.114, allocations: 65.09 kB / 0.9955 GB, free: 8.742 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-05/1.115, allocations: 20.67 kB / 0.9956 GB, free: 8.738 MB / 490.7 MB 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 (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.0008498/1.115, allocations: 308.7 kB / 0.9959 GB, free: 8.527 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002705/1.116, allocations: 58.8 kB / 0.9959 GB, free: 8.496 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/1.118, allocations: 452.9 kB / 0.9963 GB, free: 8.363 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/1.118, allocations: 2.906 kB / 0.9964 GB, free: 8.363 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.699e-06/1.118, allocations: 3 kB / 0.9964 GB, free: 8.363 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001569/1.119, allocations: 0.6516 MB / 0.997 GB, free: 7.879 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004339/1.124, allocations: 1.203 MB / 0.9982 GB, free: 7.289 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/1.124, allocations: 0 / 0.9982 GB, free: 7.289 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/1.125, allocations: 95.98 kB / 0.9983 GB, free: 7.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-05/1.125, allocations: 6.781 kB / 0.9983 GB, free: 7.266 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.143e-05/1.125, allocations: 15.11 kB / 0.9983 GB, free: 7.262 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00075/1.126, allocations: 0.5867 MB / 0.9988 GB, free: 6.676 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.646e-05/1.126, allocations: 10.45 kB / 0.9989 GB, free: 6.668 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002414/1.128, allocations: 0.7295 MB / 0.9996 GB, free: 6.375 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006518/1.129, allocations: 171.3 kB / 0.9997 GB, free: 6.238 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001974/1.129, allocations: 16.05 kB / 0.9998 GB, free: 6.234 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/1.131, allocations: 42.2 kB / 0.9998 GB, free: 6.219 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/1.131, allocations: 34.05 kB / 0.9998 GB, free: 6.199 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.368e-05/1.131, allocations: 12.19 kB / 0.9998 GB, free: 6.199 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001037/1.132, allocations: 353.2 kB / 1 GB, free: 6.062 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.447e-06/1.132, allocations: 0 / 1 GB, free: 6.062 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002406/1.134, allocations: 348.2 kB / 1.001 GB, free: 6.016 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (35): * Single equations (assignments): 34 * 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.0008207/1.135, allocations: 186.2 kB / 1.001 GB, free: 5.895 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002785/1.138, allocations: 0.5801 MB / 1.001 GB, free: 5.793 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.838e-06/1.138, allocations: 0 / 1.001 GB, free: 5.793 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008164/1.139, allocations: 191.6 kB / 1.001 GB, free: 5.758 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004641/1.143, allocations: 355.3 kB / 1.002 GB, free: 5.633 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00546/1.149, allocations: 1.672 MB / 1.003 GB, free: 4.539 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001265/1.15, allocations: 0.9535 MB / 1.004 GB, free: 3.73 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002114/1.152, allocations: 209.5 kB / 1.005 GB, free: 3.633 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003344/1.153, allocations: 48.91 kB / 1.005 GB, free: 3.625 MB / 490.7 MB Notification: Performance of SimCode: time 2.625e-06/1.153, allocations: 0 / 1.005 GB, free: 3.625 MB / 490.7 MB Notification: Performance of Templates: time 0.03446/1.187, allocations: 11.07 MB / 1.015 GB, free: 11.49 MB / 0.4949 GB