Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.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.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density") translateModel(IBPSA.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 179.7 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4912/0.4912, allocations: 90.81 MB / 104.5 MB, free: 13.89 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 221.3 MB / 348.3 MB, free: 12.55 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000949/0.0009489, allocations: 94.12 kB / 421.1 MB, free: 5.707 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.485e-05, allocations: 4 kB / 0.4896 GB, free: 46.61 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1488, allocations: 72.33 MB / 0.5602 GB, free: 6.375 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.194/4.343, allocations: 1.879 GB / 2.439 GB, free: 19.34 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001816/4.343, allocations: 85.59 kB / 2.439 GB, free: 19.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.535/5.878, allocations: 491.4 MB / 2.919 GB, free: 5.086 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.162e-06/5.878, allocations: 0 / 2.919 GB, free: 5.086 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.208e-05/5.879, allocations: 20 kB / 2.919 GB, free: 5.066 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002271/5.881, allocations: 1.031 MB / 2.92 GB, free: 3.992 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/5.881, allocations: 11.98 kB / 2.92 GB, free: 3.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001958/5.883, allocations: 278.8 kB / 2.92 GB, free: 3.707 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/5.884, allocations: 0.6146 MB / 2.921 GB, free: 3.047 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/5.884, allocations: 45.31 kB / 2.921 GB, free: 3.004 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/5.884, allocations: 56 kB / 2.921 GB, free: 2.949 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008795/5.885, allocations: 0.5856 MB / 2.922 GB, free: 2.348 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/5.885, allocations: 0 / 2.922 GB, free: 2.348 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.032e-05/5.885, allocations: 23.94 kB / 2.922 GB, free: 2.324 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/5.885, allocations: 21.27 kB / 2.922 GB, free: 2.305 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007535/5.886, allocations: 469.1 kB / 2.922 GB, free: 1.848 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.3545/6.241, allocations: 2.428 MB / 2.925 GB, free: 109 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006085/6.241, allocations: 329.4 kB / 2.925 GB, free: 109 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003111/6.241, allocations: 212.4 kB / 2.925 GB, free: 109 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004681/6.242, allocations: 305.8 kB / 2.925 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/6.242, allocations: 36.77 kB / 2.925 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=39): time 3.296e-06/6.242, allocations: 3.375 kB / 2.925 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39): time 0.001092/6.243, allocations: 429.5 kB / 2.926 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/6.243, allocations: 60.19 kB / 2.926 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006111/6.244, allocations: 438 kB / 2.926 GB, free: 108.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.875e-05/6.244, allocations: 34.95 kB / 2.926 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/6.244, allocations: 329 kB / 2.927 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/6.244, allocations: 143.6 kB / 2.927 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.041e-05/6.244, allocations: 7.438 kB / 2.927 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001025/6.244, allocations: 366.2 kB / 2.927 GB, free: 107.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/6.245, allocations: 142.5 kB / 2.927 GB, free: 107.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/6.245, allocations: 269.6 kB / 2.928 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/6.245, allocations: 183.6 kB / 2.928 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/6.245, allocations: 1.25 kB / 2.928 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007934/6.246, allocations: 0.4893 MB / 2.928 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001878/6.246, allocations: 0.8759 MB / 2.929 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/6.246, allocations: 7.688 kB / 2.929 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/6.246, allocations: 8.047 kB / 2.929 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006235/6.247, allocations: 107.1 kB / 2.929 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002671/6.247, allocations: 0.5952 MB / 2.93 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007088/6.248, allocations: 90.06 kB / 2.93 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.957e-05/6.248, allocations: 19.8 kB / 2.93 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/6.248, allocations: 5.438 kB / 2.93 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007199/6.249, allocations: 415.9 kB / 2.93 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/6.249, allocations: 2.406 kB / 2.93 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/6.249, allocations: 5.281 kB / 2.93 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004247/6.249, allocations: 102.8 kB / 2.93 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/6.249, allocations: 7.328 kB / 2.93 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006322/6.25, allocations: 85.34 kB / 2.93 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.466e-05/6.25, allocations: 19.06 kB / 2.93 GB, free: 106.2 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 (53): * Single equations (assignments): 52 * 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.0001536/6.25, allocations: 134.1 kB / 2.931 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/6.25, allocations: 56.16 kB / 2.931 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009005/6.251, allocations: 440.1 kB / 2.931 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/6.251, allocations: 6.344 kB / 2.931 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/6.251, allocations: 4.906 kB / 2.931 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006587/6.252, allocations: 0.6774 MB / 2.932 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/6.254, allocations: 1.236 MB / 2.933 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/6.254, allocations: 2.953 kB / 2.933 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000551/6.254, allocations: 109.3 kB / 2.933 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/6.254, allocations: 3.156 kB / 2.933 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/6.254, allocations: 12.67 kB / 2.933 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002208/6.255, allocations: 0.5881 MB / 2.934 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/6.255, allocations: 3.078 kB / 2.934 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/6.256, allocations: 0.8131 MB / 2.934 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002624/6.256, allocations: 180.6 kB / 2.935 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.121e-05/6.256, allocations: 8.328 kB / 2.935 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004818/6.257, allocations: 54.12 kB / 2.935 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.159e-05/6.257, allocations: 35.14 kB / 2.935 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/6.257, allocations: 17.58 kB / 2.935 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004315/6.257, allocations: 343.5 kB / 2.935 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.11e-07/6.257, allocations: 0 / 2.935 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00166/6.259, allocations: 492.9 kB / 2.936 GB, free: 104.1 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,senDenFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * 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.002239/6.261, allocations: 1.376 MB / 2.937 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00137/6.262, allocations: 0.6238 MB / 2.937 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/6.262, allocations: 4.531 kB / 2.937 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000379/6.263, allocations: 194.2 kB / 2.938 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/6.265, allocations: 353.5 kB / 2.938 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/6.267, allocations: 1.101 MB / 2.939 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/6.267, allocations: 0.965 MB / 2.94 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0009687/6.268, allocations: 251.6 kB / 2.94 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/6.268, allocations: 42.64 kB / 2.94 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of SimCode: time 9.01e-07/6.268, allocations: 0 / 2.94 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.04543/6.314, allocations: 32.33 MB / 2.972 GB, free: 102 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe 2>&1)