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.001489/0.001489, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8661/0.8661, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.686/1.686, allocations: 221.3 MB / 400.4 MB, free: 5.781 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009419/0.000942, allocations: 87.95 kB / 483.3 MB, free: 5.824 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.15e-05/4.165e-05, allocations: 4.062 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1564, allocations: 82.31 MB / 0.6405 GB, free: 7.715 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.124/5.281, allocations: 1.888 GB / 2.529 GB, free: 41.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003414/5.281, allocations: 87.95 kB / 2.529 GB, free: 41.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.008/7.289, allocations: 489.8 MB / 3.007 GB, free: 89.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.174e-06/7.289, allocations: 0 / 3.007 GB, free: 89.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001119/7.289, allocations: 23.98 kB / 3.007 GB, free: 89.38 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.003223/7.293, allocations: 1.029 MB / 3.008 GB, free: 88.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/7.293, allocations: 8.031 kB / 3.008 GB, free: 88.29 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003297/7.293, allocations: 94.52 kB / 3.008 GB, free: 88.19 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002336/7.295, allocations: 274.7 kB / 3.009 GB, free: 87.92 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001858/7.297, allocations: 0.6149 MB / 3.009 GB, free: 87.27 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/7.297, allocations: 41.31 kB / 3.009 GB, free: 87.22 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/7.298, allocations: 60 kB / 3.009 GB, free: 87.16 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/7.299, allocations: 0.5894 MB / 3.01 GB, free: 86.56 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/7.299, allocations: 3.938 kB / 3.01 GB, free: 86.55 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.644e-05/7.299, allocations: 23.94 kB / 3.01 GB, free: 86.53 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-05/7.299, allocations: 25.3 kB / 3.01 GB, free: 86.51 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008801/7.3, allocations: 457.1 kB / 3.01 GB, free: 86.06 MB / 0.6823 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.003914/7.304, allocations: 2.431 MB / 3.013 GB, free: 83.41 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005568/7.304, allocations: 346.1 kB / 3.013 GB, free: 83.07 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002845/7.305, allocations: 217.4 kB / 3.013 GB, free: 82.85 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005876/7.305, allocations: 299.6 kB / 3.014 GB, free: 82.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/7.305, allocations: 38.89 kB / 3.014 GB, free: 82.46 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 4.378e-06/7.305, allocations: 0 / 3.014 GB, free: 82.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39): time 0.00119/7.307, allocations: 418.8 kB / 3.014 GB, free: 82.04 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/7.307, allocations: 63.34 kB / 3.014 GB, free: 81.97 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006442/7.307, allocations: 432.8 kB / 3.015 GB, free: 81.54 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.215e-05/7.307, allocations: 37.7 kB / 3.015 GB, free: 81.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/7.308, allocations: 324.5 kB / 3.015 GB, free: 81.18 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/7.308, allocations: 141.9 kB / 3.015 GB, free: 81.04 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.155e-05/7.308, allocations: 8 kB / 3.015 GB, free: 81.03 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001377/7.308, allocations: 370.7 kB / 3.015 GB, free: 80.66 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/7.308, allocations: 148.8 kB / 3.016 GB, free: 80.51 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/7.309, allocations: 270.1 kB / 3.016 GB, free: 80.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/7.309, allocations: 191.8 kB / 3.016 GB, free: 80.01 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/7.309, allocations: 0 / 3.016 GB, free: 80.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000946/7.31, allocations: 499.4 kB / 3.016 GB, free: 79.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004185/7.31, allocations: 0.8704 MB / 3.017 GB, free: 78.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/7.31, allocations: 4 kB / 3.017 GB, free: 78.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.41e-05/7.31, allocations: 7.938 kB / 3.017 GB, free: 78.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006812/7.311, allocations: 111.9 kB / 3.017 GB, free: 78.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000389/7.311, allocations: 0.5977 MB / 3.018 GB, free: 77.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008659/7.312, allocations: 83.52 kB / 3.018 GB, free: 77.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.421e-05/7.312, allocations: 19.98 kB / 3.018 GB, free: 77.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/7.312, allocations: 4 kB / 3.018 GB, free: 77.73 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006118/7.313, allocations: 415.8 kB / 3.018 GB, free: 77.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/7.313, allocations: 4 kB / 3.019 GB, free: 77.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.085e-06/7.313, allocations: 4 kB / 3.019 GB, free: 77.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/7.313, allocations: 103.8 kB / 3.019 GB, free: 77.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/7.313, allocations: 4 kB / 3.019 GB, free: 77.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006209/7.314, allocations: 75.77 kB / 3.019 GB, free: 77.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/7.314, allocations: 31.91 kB / 3.019 GB, free: 77.11 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 () * 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.0001658/7.314, allocations: 128.9 kB / 3.019 GB, free: 76.97 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/7.314, allocations: 63.25 kB / 3.019 GB, free: 76.91 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007761/7.315, allocations: 447.1 kB / 3.019 GB, free: 76.47 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/7.315, allocations: 4 kB / 3.019 GB, free: 76.46 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/7.315, allocations: 0 / 3.019 GB, free: 76.46 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005353/7.316, allocations: 0.6636 MB / 3.02 GB, free: 75.71 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/7.318, allocations: 1.235 MB / 3.021 GB, free: 74.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/7.318, allocations: 3.984 kB / 3.021 GB, free: 74.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005152/7.318, allocations: 107.9 kB / 3.021 GB, free: 74.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/7.318, allocations: 4 kB / 3.021 GB, free: 74.29 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/7.318, allocations: 8.219 kB / 3.021 GB, free: 74.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002122/7.318, allocations: 0.5977 MB / 3.022 GB, free: 73.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/7.318, allocations: 3.953 kB / 3.022 GB, free: 73.66 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008022/7.319, allocations: 0.8374 MB / 3.023 GB, free: 72.73 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002453/7.319, allocations: 172.4 kB / 3.023 GB, free: 72.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.28e-05/7.319, allocations: 19.98 kB / 3.023 GB, free: 72.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004884/7.32, allocations: 55.75 kB / 3.023 GB, free: 72.47 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.452e-05/7.32, allocations: 31.91 kB / 3.023 GB, free: 72.44 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/7.32, allocations: 12 kB / 3.023 GB, free: 72.43 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003571/7.32, allocations: 341.5 kB / 3.023 GB, free: 72.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.7e-07/7.32, allocations: 4 kB / 3.023 GB, free: 72.09 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001704/7.322, allocations: 499.2 kB / 3.024 GB, free: 71.61 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 () * 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.003895/7.326, allocations: 3.146 MB / 3.027 GB, free: 68.34 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001298/7.327, allocations: 0.6241 MB / 3.027 GB, free: 67.72 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/7.327, allocations: 4 kB / 3.027 GB, free: 67.71 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003007/7.328, allocations: 195.8 kB / 3.028 GB, free: 67.52 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/7.33, allocations: 347.3 kB / 3.028 GB, free: 67.19 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/7.333, allocations: 1.281 MB / 3.029 GB, free: 65.85 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005255/7.333, allocations: 0.9626 MB / 3.03 GB, free: 64.86 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009738/7.334, allocations: 252.9 kB / 3.03 GB, free: 64.61 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000295/7.334, allocations: 219.4 kB / 3.031 GB, free: 64.39 MB / 0.6823 GB Notification: Performance of SimCode: time 1.022e-06/7.334, allocations: 0 / 3.031 GB, free: 64.39 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0886/7.423, allocations: 42.7 MB / 3.072 GB, free: 21.94 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/7.423, allocations: 210.8 kB / 3.073 GB, free: 21.71 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.707/11.13, allocations: 0 / 3.073 GB, free: 21.71 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)