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: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Density,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Density,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5123/0.5123, allocations: 90.92 MB / 99.34 MB, free: 2.207 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.537/1.537, allocations: 221.5 MB / 343.2 MB, free: 1.578 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.00102/0.00102, allocations: 99.83 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.594e-05/2.596e-05, allocations: 8 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1718, allocations: 72.31 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.862/5.034, allocations: 1.878 GB / 2.432 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/5.035, allocations: 89.78 kB / 2.432 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.743/6.778, allocations: 485.9 MB / 2.907 GB, free: 49.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.253e-06/6.778, allocations: 0 / 2.907 GB, free: 49.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.101e-05/6.778, allocations: 19.98 kB / 2.907 GB, free: 49.79 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.002512/6.78, allocations: 1.046 MB / 2.908 GB, free: 48.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/6.78, allocations: 8.031 kB / 2.908 GB, free: 48.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002022/6.782, allocations: 271.1 kB / 2.908 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/6.784, allocations: 0.609 MB / 2.908 GB, free: 47.78 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/6.784, allocations: 20 kB / 2.908 GB, free: 47.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/6.784, allocations: 32 kB / 2.908 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007522/6.785, allocations: 442.5 kB / 2.909 GB, free: 47.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008027/6.785, allocations: 0.5205 MB / 2.909 GB, free: 46.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/6.785, allocations: 0 / 2.909 GB, free: 46.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.687e-05/6.785, allocations: 0 / 2.909 GB, free: 46.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/6.785, allocations: 17.31 kB / 2.909 GB, free: 46.74 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.002649/6.788, allocations: 2.32 MB / 2.912 GB, free: 44.22 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004534/6.789, allocations: 315.3 kB / 2.912 GB, free: 43.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002289/6.789, allocations: 201.5 kB / 2.912 GB, free: 43.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004229/6.789, allocations: 303.6 kB / 2.912 GB, free: 43.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/6.789, allocations: 42.83 kB / 2.912 GB, free: 43.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=39): time 1.523e-06/6.789, allocations: 3.938 kB / 2.912 GB, free: 43.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39): time 0.0009403/6.79, allocations: 431.1 kB / 2.913 GB, free: 42.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/6.79, allocations: 59.36 kB / 2.913 GB, free: 42.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003657/6.791, allocations: 361.4 kB / 2.913 GB, free: 42.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/6.791, allocations: 25.7 kB / 2.913 GB, free: 42.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/6.791, allocations: 332.2 kB / 2.914 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.873e-05/6.791, allocations: 130 kB / 2.914 GB, free: 41.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-05/6.791, allocations: 3.938 kB / 2.914 GB, free: 41.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.446e-05/6.791, allocations: 358.8 kB / 2.914 GB, free: 41.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/6.791, allocations: 144.8 kB / 2.914 GB, free: 41.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/6.792, allocations: 256.3 kB / 2.915 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003335/6.792, allocations: 199.8 kB / 2.915 GB, free: 40.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/6.792, allocations: 0 / 2.915 GB, free: 40.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006619/6.793, allocations: 483.1 kB / 2.915 GB, free: 40.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001924/6.793, allocations: 0.8705 MB / 2.916 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/6.793, allocations: 4 kB / 2.916 GB, free: 39.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/6.793, allocations: 4 kB / 2.916 GB, free: 39.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005655/6.793, allocations: 115.9 kB / 2.916 GB, free: 39.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002852/6.794, allocations: 0.6054 MB / 2.917 GB, free: 38.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006452/6.794, allocations: 71.67 kB / 2.917 GB, free: 38.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.277e-05/6.794, allocations: 23.98 kB / 2.917 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/6.794, allocations: 4 kB / 2.917 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005716/6.795, allocations: 396.2 kB / 2.917 GB, free: 38.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/6.795, allocations: 4 kB / 2.917 GB, free: 38.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.073e-06/6.795, allocations: 4 kB / 2.917 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003957/6.795, allocations: 99.83 kB / 2.917 GB, free: 38.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/6.795, allocations: 4 kB / 2.917 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005833/6.796, allocations: 67.66 kB / 2.917 GB, free: 38.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.916e-05/6.796, allocations: 20 kB / 2.917 GB, free: 38.12 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.0001151/6.796, allocations: 128.8 kB / 2.918 GB, free: 37.98 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005463/6.797, allocations: 393 kB / 2.918 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.816e-05/6.797, allocations: 55.34 kB / 2.918 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006626/6.797, allocations: 430.7 kB / 2.918 GB, free: 37.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/6.797, allocations: 4 kB / 2.918 GB, free: 37.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/6.797, allocations: 0 / 2.918 GB, free: 37.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005436/6.798, allocations: 0.6681 MB / 2.919 GB, free: 36.35 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/6.8, allocations: 1.157 MB / 2.92 GB, free: 35.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/6.8, allocations: 4 kB / 2.92 GB, free: 35.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000489/6.8, allocations: 108.1 kB / 2.92 GB, free: 35.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/6.8, allocations: 4 kB / 2.92 GB, free: 35.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/6.8, allocations: 4 kB / 2.92 GB, free: 35.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000181/6.8, allocations: 0.5977 MB / 2.921 GB, free: 34.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/6.8, allocations: 0 / 2.921 GB, free: 34.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008043/6.801, allocations: 0.8102 MB / 2.922 GB, free: 33.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000229/6.802, allocations: 176.4 kB / 2.922 GB, free: 33.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.131e-05/6.802, allocations: 7.938 kB / 2.922 GB, free: 33.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005038/6.802, allocations: 47.89 kB / 2.922 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.407e-05/6.802, allocations: 27.97 kB / 2.922 GB, free: 33.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/6.802, allocations: 19.98 kB / 2.922 GB, free: 33.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000287/6.803, allocations: 286.9 kB / 2.922 GB, free: 32.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.1e-07/6.803, allocations: 0 / 2.922 GB, free: 32.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001327/6.804, allocations: 443 kB / 2.923 GB, free: 32.49 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.003092/6.807, allocations: 3.278 MB / 2.926 GB, free: 29.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00102/6.808, allocations: 0.5767 MB / 2.926 GB, free: 28.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/6.808, allocations: 0 / 2.926 GB, free: 28.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002748/6.808, allocations: 192.9 kB / 2.927 GB, free: 28.33 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/6.81, allocations: 323.8 kB / 2.927 GB, free: 28.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/6.812, allocations: 1.237 MB / 2.928 GB, free: 26.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/6.813, allocations: 0.9659 MB / 2.929 GB, free: 25.72 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008178/6.813, allocations: 236.7 kB / 2.929 GB, free: 25.49 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/6.814, allocations: 219.4 kB / 2.929 GB, free: 25.28 MB / 0.6042 GB Notification: Performance of SimCode: time 8.51e-07/6.814, allocations: 0 / 2.929 GB, free: 25.28 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4236/7.237, allocations: 26.57 MB / 2.955 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/7.237, allocations: 150.5 kB / 2.956 GB, free: 110.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.869/10.11, allocations: 0 / 2.956 GB, free: 110.6 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Density.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe 2>&1)