Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sensors.Examples.Density,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Density,fileNamePrefix="IDEAS_dev_IDEAS_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.01494/0.01494, allocations: 171.9 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.266/1.266, allocations: 135.2 MB / 151 MB, free: 13.85 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.859/2.859, allocations: 223.2 MB / 406.8 MB, free: 3.25 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 101.2 kB / 489.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005477/0.0005478, allocations: 8 kB / 0.5692 GB, free: 14.12 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8005/0.8011, allocations: 82.31 MB / 0.6495 GB, free: 36.18 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.066/9.868, allocations: 1.888 GB / 2.538 GB, free: 87.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003639/9.868, allocations: 95.95 kB / 2.538 GB, free: 87.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.332/13.2, allocations: 490.2 MB / 3.017 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.625e-06/13.2, allocations: 0 / 3.017 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001066/13.2, allocations: 27.94 kB / 3.017 GB, free: 125.4 MB / 0.6823 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.004514/13.2, allocations: 1.149 MB / 3.018 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 8.495e-05/13.2, allocations: 12.03 kB / 3.018 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002328/13.2, allocations: 94.52 kB / 3.018 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003083/13.21, allocations: 266.8 kB / 3.018 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00225/13.21, allocations: 0.6108 MB / 3.019 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.468e-05/13.21, allocations: 41.66 kB / 3.019 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/13.21, allocations: 63.95 kB / 3.019 GB, free: 123 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/13.21, allocations: 0.6089 MB / 3.02 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/13.21, allocations: 8 kB / 3.02 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.725e-05/13.21, allocations: 23.94 kB / 3.02 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.71e-05/13.21, allocations: 17.31 kB / 3.02 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/13.21, allocations: 0.497 MB / 3.02 GB, free: 121.9 MB / 0.6823 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.004863/13.22, allocations: 2.431 MB / 3.023 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009029/13.22, allocations: 360.5 kB / 3.023 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007266/13.22, allocations: 307.6 kB / 3.023 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/13.22, allocations: 38.89 kB / 3.023 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 4.899e-06/13.22, allocations: 0 / 3.023 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39): time 0.002162/13.22, allocations: 0.6096 MB / 3.024 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/13.22, allocations: 59.41 kB / 3.024 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008519/13.22, allocations: 442.1 kB / 3.024 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.35e-05/13.22, allocations: 33.7 kB / 3.024 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002854/13.22, allocations: 324.5 kB / 3.025 GB, free: 117 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/13.22, allocations: 137.9 kB / 3.025 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/13.22, allocations: 12 kB / 3.025 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001746/13.22, allocations: 362.8 kB / 3.025 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004669/13.23, allocations: 168.8 kB / 3.025 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005794/13.23, allocations: 293.9 kB / 3.026 GB, free: 116 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005445/13.23, allocations: 213.2 kB / 3.026 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/13.23, allocations: 0 / 3.026 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00145/13.23, allocations: 0.524 MB / 3.026 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003107/13.23, allocations: 0.8735 MB / 3.027 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/13.23, allocations: 7.953 kB / 3.027 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.317e-05/13.23, allocations: 4 kB / 3.027 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/13.23, allocations: 115.8 kB / 3.027 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004925/13.23, allocations: 0.59 MB / 3.028 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/13.23, allocations: 83.58 kB / 3.028 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/13.23, allocations: 23.98 kB / 3.028 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/13.23, allocations: 0 / 3.028 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001196/13.23, allocations: 455.4 kB / 3.028 GB, free: 113 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/13.23, allocations: 7.938 kB / 3.028 GB, free: 113 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/13.23, allocations: 4 kB / 3.028 GB, free: 113 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006627/13.23, allocations: 99.89 kB / 3.028 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/13.23, allocations: 12.17 kB / 3.028 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/13.23, allocations: 75.55 kB / 3.029 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.626e-05/13.23, allocations: 27.98 kB / 3.029 GB, free: 112.8 MB / 0.6823 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 (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.0007131/13.24, allocations: 305.5 kB / 3.029 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/13.24, allocations: 59.33 kB / 3.029 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/13.24, allocations: 479.7 kB / 3.029 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/13.24, allocations: 4 kB / 3.029 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/13.24, allocations: 3.953 kB / 3.029 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001184/13.24, allocations: 0.6988 MB / 3.03 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003829/13.24, allocations: 1.286 MB / 3.031 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/13.24, allocations: 0 / 3.031 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/13.24, allocations: 107.9 kB / 3.031 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.795e-05/13.24, allocations: 7.984 kB / 3.031 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-05/13.24, allocations: 8 kB / 3.031 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004074/13.24, allocations: 0.5979 MB / 3.032 GB, free: 109 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/13.24, allocations: 8.031 kB / 3.032 GB, free: 109 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/13.25, allocations: 0.9024 MB / 3.033 GB, free: 108 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006108/13.25, allocations: 176.4 kB / 3.033 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/13.25, allocations: 12 kB / 3.033 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009481/13.25, allocations: 55.8 kB / 3.033 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/13.25, allocations: 31.92 kB / 3.033 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.575e-05/13.25, allocations: 16.09 kB / 3.033 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007987/13.25, allocations: 350.8 kB / 3.034 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.082e-06/13.25, allocations: 0 / 3.034 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003016/13.25, allocations: 491.2 kB / 3.034 GB, free: 106.9 MB / 0.6823 GB 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],senDenFlo.d) * 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 (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.006437/13.26, allocations: 3.189 MB / 3.037 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002707/13.26, allocations: 0.6606 MB / 3.038 GB, free: 103 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/13.26, allocations: 0 / 3.038 GB, free: 103 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007053/13.26, allocations: 223.8 kB / 3.038 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003357/13.26, allocations: 359.2 kB / 3.038 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/13.28, allocations: 5.152 MB / 3.043 GB, free: 97.13 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008021/13.28, allocations: 0.9577 MB / 3.044 GB, free: 96.14 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001699/13.28, allocations: 201 kB / 3.044 GB, free: 95.95 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005854/13.28, allocations: 227.4 kB / 3.045 GB, free: 95.73 MB / 0.6823 GB Notification: Performance of SimCode: time 4.098e-06/13.28, allocations: 0 / 3.045 GB, free: 95.73 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1126/13.39, allocations: 38.21 MB / 3.082 GB, free: 57.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003247/13.39, allocations: 229.2 kB / 3.082 GB, free: 57.56 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.936/19.33, allocations: 0 / 3.082 GB, free: 57.56 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Density.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe 2>&1)