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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.000917/0.0009171, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5275/0.5275, allocations: 90.92 MB / 99.35 MB, free: 2.219 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 221.5 MB / 343.2 MB, free: 1.574 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 91.94 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.566e-05/1.567e-05, allocations: 4 kB / 494.5 MB, free: 52.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.13, allocations: 72.31 MB / 0.5535 GB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.649/4.779, allocations: 1.882 GB / 2.435 GB, free: 23.42 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/4.779, allocations: 88.02 kB / 2.435 GB, free: 23.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.678/6.457, allocations: 483.9 MB / 2.908 GB, free: 23.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.312e-06/6.458, allocations: 0 / 2.908 GB, free: 23.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.841e-05/6.458, allocations: 27.94 kB / 2.908 GB, free: 23.88 MB / 0.6042 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.00184/6.459, allocations: 0.9875 MB / 2.909 GB, free: 22.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/6.459, allocations: 12.03 kB / 2.909 GB, free: 22.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/6.461, allocations: 203.2 kB / 2.909 GB, free: 22.63 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/6.462, allocations: 0.9096 MB / 2.91 GB, free: 21.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/6.462, allocations: 19.94 kB / 2.91 GB, free: 21.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.088e-05/6.463, allocations: 35.98 kB / 2.91 GB, free: 21.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006398/6.463, allocations: 442.4 kB / 2.91 GB, free: 21.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006971/6.464, allocations: 0.5088 MB / 2.911 GB, free: 20.67 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/6.464, allocations: 0 / 2.911 GB, free: 20.67 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.348e-05/6.464, allocations: 0 / 2.911 GB, free: 20.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.702e-05/6.464, allocations: 21.27 kB / 2.911 GB, free: 20.65 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.002208/6.466, allocations: 2.293 MB / 2.913 GB, free: 18.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004466/6.467, allocations: 320.9 kB / 2.913 GB, free: 17.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/6.467, allocations: 186.3 kB / 2.914 GB, free: 17.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004423/6.467, allocations: 307.2 kB / 2.914 GB, free: 17.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/6.467, allocations: 38.56 kB / 2.914 GB, free: 17.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 1.332e-06/6.467, allocations: 0 / 2.914 GB, free: 17.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.0008536/6.468, allocations: 425.1 kB / 2.914 GB, free: 16.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/6.468, allocations: 55.41 kB / 2.914 GB, free: 16.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/6.469, allocations: 357.2 kB / 2.915 GB, free: 16.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/6.469, allocations: 29.7 kB / 2.915 GB, free: 16.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/6.469, allocations: 324.3 kB / 2.915 GB, free: 16.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.978e-05/6.469, allocations: 114.2 kB / 2.915 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.742e-05/6.469, allocations: 4 kB / 2.915 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.671e-05/6.469, allocations: 362.8 kB / 2.916 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/6.469, allocations: 128.8 kB / 2.916 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/6.469, allocations: 262.4 kB / 2.916 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/6.47, allocations: 201.5 kB / 2.916 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/6.47, allocations: 0 / 2.916 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006003/6.47, allocations: 470.8 kB / 2.917 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001795/6.471, allocations: 0.8768 MB / 2.917 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/6.471, allocations: 4 kB / 2.917 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/6.471, allocations: 4 kB / 2.917 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005074/6.471, allocations: 103.8 kB / 2.918 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002787/6.471, allocations: 0.5938 MB / 2.918 GB, free: 12.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005535/6.472, allocations: 63.64 kB / 2.918 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/6.472, allocations: 27.98 kB / 2.918 GB, free: 12.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/6.472, allocations: 5.25 kB / 2.918 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005216/6.473, allocations: 367.6 kB / 2.919 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/6.473, allocations: 4 kB / 2.919 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.809e-06/6.473, allocations: 7.938 kB / 2.919 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/6.473, allocations: 87.84 kB / 2.919 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/6.473, allocations: 12.36 kB / 2.919 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004402/6.473, allocations: 63.58 kB / 2.919 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/6.473, allocations: 20 kB / 2.919 GB, free: 12.16 MB / 0.6042 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 () * 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.0001046/6.473, allocations: 116.8 kB / 2.919 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.48e-05/6.474, allocations: 51.38 kB / 2.919 GB, free: 11.99 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006082/6.474, allocations: 427.6 kB / 2.919 GB, free: 11.56 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/6.474, allocations: 4 kB / 2.919 GB, free: 11.56 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/6.474, allocations: 0 / 2.919 GB, free: 11.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004515/6.475, allocations: 0.6402 MB / 2.92 GB, free: 10.83 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/6.476, allocations: 1.111 MB / 2.921 GB, free: 9.656 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/6.476, allocations: 8.031 kB / 2.921 GB, free: 9.648 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004092/6.476, allocations: 87.89 kB / 2.921 GB, free: 9.562 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/6.476, allocations: 4 kB / 2.921 GB, free: 9.559 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/6.476, allocations: 4 kB / 2.921 GB, free: 9.555 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001922/6.477, allocations: 0.6016 MB / 2.922 GB, free: 8.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/6.477, allocations: 0 / 2.922 GB, free: 8.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006886/6.477, allocations: 0.7562 MB / 2.922 GB, free: 8.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/6.478, allocations: 176.3 kB / 2.923 GB, free: 7.898 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.498e-05/6.478, allocations: 7.984 kB / 2.923 GB, free: 7.891 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003838/6.478, allocations: 39.81 kB / 2.923 GB, free: 7.852 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/6.478, allocations: 19.97 kB / 2.923 GB, free: 7.832 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/6.478, allocations: 20 kB / 2.923 GB, free: 7.812 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002453/6.478, allocations: 282.9 kB / 2.923 GB, free: 7.539 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/6.478, allocations: 0 / 2.923 GB, free: 7.539 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001117/6.479, allocations: 427 kB / 2.923 GB, free: 7.121 MB / 0.6042 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 () * 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.001922/6.481, allocations: 1.558 MB / 2.925 GB, free: 5.512 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009456/6.482, allocations: 0.5541 MB / 2.925 GB, free: 4.957 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/6.482, allocations: 7.875 kB / 2.925 GB, free: 4.949 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002264/6.483, allocations: 176.3 kB / 2.926 GB, free: 4.777 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/6.484, allocations: 304.2 kB / 2.926 GB, free: 4.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/6.486, allocations: 1.047 MB / 2.927 GB, free: 3.387 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/6.486, allocations: 0.9655 MB / 2.928 GB, free: 2.395 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007226/6.487, allocations: 236.5 kB / 2.928 GB, free: 2.164 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.914e-05/6.487, allocations: 35.44 kB / 2.928 GB, free: 2.129 MB / 0.6042 GB Notification: Performance of SimCode: time 7.71e-07/6.487, allocations: 0 / 2.928 GB, free: 2.129 MB / 0.6042 GB Notification: Performance of Templates: time 0.4362/6.923, allocations: 18.28 MB / 2.946 GB, free: 112 MB / 0.6042 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)