Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Density,fileNamePrefix="IDEAS_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.001088/0.001088, allocations: 174.5 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.6934/0.6934, 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.528/1.528, 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.001375/0.001375, allocations: 81.98 kB / 483.3 MB, free: 5.848 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.369e-05/4.388e-05, allocations: 4.125 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1909, allocations: 82.3 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.092/5.283, allocations: 1.888 GB / 2.529 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003479/5.284, allocations: 87.64 kB / 2.529 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.018/7.302, allocations: 489.8 MB / 3.007 GB, free: 60.87 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.563e-06/7.302, allocations: 7.938 kB / 3.007 GB, free: 60.86 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.318e-05/7.302, allocations: 19.98 kB / 3.007 GB, free: 60.84 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.002666/7.304, allocations: 1.048 MB / 3.008 GB, free: 59.74 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/7.304, allocations: 12.03 kB / 3.008 GB, free: 59.73 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002322/7.305, allocations: 90.52 kB / 3.008 GB, free: 59.63 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002166/7.307, allocations: 262.8 kB / 3.009 GB, free: 59.38 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/7.309, allocations: 0.6189 MB / 3.009 GB, free: 58.71 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.726e-05/7.309, allocations: 41.31 kB / 3.009 GB, free: 58.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/7.309, allocations: 56 kB / 3.009 GB, free: 58.62 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/7.31, allocations: 0.5855 MB / 3.01 GB, free: 58.02 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/7.31, allocations: 0 / 3.01 GB, free: 58.02 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.106e-05/7.31, allocations: 20 kB / 3.01 GB, free: 58 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.202e-05/7.31, allocations: 25.31 kB / 3.01 GB, free: 57.97 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007728/7.311, allocations: 469.1 kB / 3.01 GB, free: 57.52 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.003209/7.314, allocations: 2.42 MB / 3.013 GB, free: 54.89 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005101/7.315, allocations: 350.8 kB / 3.013 GB, free: 54.54 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002648/7.315, allocations: 213.4 kB / 3.013 GB, free: 54.32 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004801/7.315, allocations: 303.6 kB / 3.014 GB, free: 53.97 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/7.315, allocations: 42.83 kB / 3.014 GB, free: 53.92 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 2.665e-06/7.315, allocations: 0 / 3.014 GB, free: 53.92 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39): time 0.0009953/7.316, allocations: 418.8 kB / 3.014 GB, free: 53.51 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/7.316, allocations: 59.34 kB / 3.014 GB, free: 53.44 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004999/7.317, allocations: 444.7 kB / 3.015 GB, free: 53 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.381e-05/7.317, allocations: 29.7 kB / 3.015 GB, free: 52.96 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/7.317, allocations: 328.4 kB / 3.015 GB, free: 52.63 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/7.317, allocations: 142 kB / 3.015 GB, free: 52.49 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.079e-05/7.317, allocations: 12 kB / 3.015 GB, free: 52.48 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.031e-05/7.317, allocations: 366.7 kB / 3.015 GB, free: 52.11 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/7.318, allocations: 144.8 kB / 3.016 GB, free: 51.97 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/7.318, allocations: 278 kB / 3.016 GB, free: 51.65 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/7.318, allocations: 187.8 kB / 3.016 GB, free: 51.47 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/7.318, allocations: 0 / 3.016 GB, free: 51.47 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007057/7.319, allocations: 490.7 kB / 3.016 GB, free: 50.98 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002057/7.319, allocations: 0.8771 MB / 3.017 GB, free: 50.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/7.319, allocations: 8 kB / 3.017 GB, free: 50.03 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/7.319, allocations: 7.938 kB / 3.017 GB, free: 50.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000597/7.32, allocations: 104 kB / 3.017 GB, free: 49.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003032/7.32, allocations: 0.5977 MB / 3.018 GB, free: 49.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007117/7.321, allocations: 79.59 kB / 3.018 GB, free: 49.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.879e-05/7.321, allocations: 23.98 kB / 3.018 GB, free: 49.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/7.321, allocations: 9.406 kB / 3.018 GB, free: 49.19 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005741/7.321, allocations: 403.6 kB / 3.018 GB, free: 48.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/7.322, allocations: 4 kB / 3.018 GB, free: 48.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.103e-06/7.322, allocations: 4 kB / 3.018 GB, free: 48.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003835/7.322, allocations: 103.8 kB / 3.019 GB, free: 48.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/7.322, allocations: 12.28 kB / 3.019 GB, free: 48.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006498/7.323, allocations: 79.48 kB / 3.019 GB, free: 48.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.442e-05/7.323, allocations: 23.98 kB / 3.019 GB, free: 48.57 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.0001357/7.323, allocations: 132.8 kB / 3.019 GB, free: 48.44 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/7.323, allocations: 63.3 kB / 3.019 GB, free: 48.38 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007172/7.324, allocations: 435.2 kB / 3.019 GB, free: 47.95 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/7.324, allocations: 4 kB / 3.019 GB, free: 47.94 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/7.324, allocations: 3.984 kB / 3.019 GB, free: 47.94 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005209/7.324, allocations: 0.6675 MB / 3.02 GB, free: 47.18 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/7.326, allocations: 1.239 MB / 3.021 GB, free: 45.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/7.326, allocations: 4.219 kB / 3.021 GB, free: 45.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005175/7.327, allocations: 107.9 kB / 3.021 GB, free: 45.76 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/7.327, allocations: 4 kB / 3.021 GB, free: 45.75 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.986e-05/7.327, allocations: 15.98 kB / 3.021 GB, free: 45.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002352/7.327, allocations: 0.5977 MB / 3.022 GB, free: 45.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/7.327, allocations: 0 / 3.022 GB, free: 45.12 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008934/7.328, allocations: 0.8377 MB / 3.023 GB, free: 44.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003381/7.328, allocations: 176.4 kB / 3.023 GB, free: 44 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/7.328, allocations: 11.95 kB / 3.023 GB, free: 43.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005936/7.329, allocations: 51.86 kB / 3.023 GB, free: 43.94 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.614e-05/7.329, allocations: 35.89 kB / 3.023 GB, free: 43.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/7.329, allocations: 16 kB / 3.023 GB, free: 43.89 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004222/7.329, allocations: 345.5 kB / 3.023 GB, free: 43.55 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.91e-07/7.329, allocations: 0 / 3.023 GB, free: 43.55 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00183/7.331, allocations: 491.1 kB / 3.024 GB, free: 43.07 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.003468/7.335, allocations: 3.139 MB / 3.027 GB, free: 39.81 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001173/7.336, allocations: 0.6273 MB / 3.027 GB, free: 39.18 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/7.336, allocations: 0 / 3.027 GB, free: 39.18 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003119/7.336, allocations: 193.4 kB / 3.028 GB, free: 38.99 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/7.338, allocations: 361.3 kB / 3.028 GB, free: 38.65 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/7.341, allocations: 1.282 MB / 3.029 GB, free: 37.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/7.341, allocations: 0.9626 MB / 3.03 GB, free: 36.32 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000899/7.342, allocations: 248.9 kB / 3.03 GB, free: 36.07 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/7.342, allocations: 219.4 kB / 3.031 GB, free: 35.86 MB / 0.6823 GB Notification: Performance of SimCode: time 6.51e-07/7.342, allocations: 0 / 3.031 GB, free: 35.86 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6118/7.954, allocations: 42.7 MB / 3.072 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/7.954, allocations: 196.8 kB / 3.073 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.675/11.63, allocations: 0 / 3.073 GB, free: 138.5 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_Density.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe 2>&1)