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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density") translateModel(IDEAS.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 194.5 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.072/1.072, allocations: 135.1 MB / 425.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 68.2 kB / 0.5049 GB, free: 5.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1746, allocations: 80.93 MB / 0.5839 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.5143/0.6889, allocations: 182.6 MB / 0.7622 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009705/0.6987, allocations: 6.926 MB / 0.769 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.6998, allocations: 27.81 kB / 0.769 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.701, allocations: 342.2 kB / 0.7693 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003648/0.7047, allocations: 1.37 MB / 0.7707 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002822/0.7076, allocations: 1.066 MB / 0.7717 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002516/0.7101, allocations: 1.946 MB / 0.7736 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009065/0.711, allocations: 0.6341 MB / 0.7742 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001753/0.7128, allocations: 0.8328 MB / 0.775 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.714, allocations: 0.6306 MB / 0.7757 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.7141, allocations: 68 kB / 0.7757 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003507/0.7176, allocations: 2.003 MB / 0.7777 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003184/0.718, allocations: 287.2 kB / 0.7779 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004978/0.7185, allocations: 430 kB / 0.7784 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003147/0.7216, allocations: 1.874 MB / 0.7802 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.7216, allocations: 4 kB / 0.7802 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7216, allocations: 0 / 0.7802 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.246e-05/0.7217, allocations: 0 / 0.7802 GB, free: 4.301 MB / 0.5919 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.001885/0.7236, allocations: 1.16 MB / 0.7813 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.7236, allocations: 8.031 kB / 0.7813 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001878/0.7255, allocations: 274.8 kB / 0.7816 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009144/0.7264, allocations: 0.5831 MB / 0.7822 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.7265, allocations: 41.31 kB / 0.7822 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.351e-05/0.7266, allocations: 63.91 kB / 0.7823 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.7276, allocations: 0.6284 MB / 0.7829 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.7276, allocations: 4 kB / 0.7829 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.335e-05/0.7277, allocations: 20 kB / 0.7829 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.739e-05/0.7277, allocations: 21.3 kB / 0.7829 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009129/0.7287, allocations: 0.5243 MB / 0.7834 GB, free: 0.8789 MB / 0.5919 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.00305/0.7317, allocations: 2.437 MB / 0.7858 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006512/0.7324, allocations: 379.7 kB / 0.7862 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003774/0.7328, allocations: 240.8 kB / 0.7864 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005922/0.7334, allocations: 307.6 kB / 0.7867 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.7334, allocations: 38.89 kB / 0.7867 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 2.194e-06/0.7334, allocations: 0 / 0.7867 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.001407/0.7348, allocations: 0.6199 MB / 0.7873 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.7349, allocations: 59.34 kB / 0.7874 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005876/0.7355, allocations: 0.495 MB / 0.7879 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.7355, allocations: 33.7 kB / 0.7879 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.7358, allocations: 324.5 kB / 0.7882 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.7359, allocations: 138 kB / 0.7884 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.7361, allocations: 94.03 kB / 0.7884 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.7363, allocations: 366.8 kB / 0.7888 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/0.7366, allocations: 174.1 kB / 0.789 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000428/0.737, allocations: 288.2 kB / 0.7892 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000719/0.7378, allocations: 445 kB / 0.7897 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.7378, allocations: 3.984 kB / 0.7897 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009296/0.7387, allocations: 0.5289 MB / 0.7902 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.7387, allocations: 4 kB / 0.7902 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.7388, allocations: 4 kB / 0.7902 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.7388, allocations: 4 kB / 0.7902 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007653/0.7395, allocations: 136.1 kB / 0.7903 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003934/0.74, allocations: 0.5898 MB / 0.7909 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006246/0.7406, allocations: 75.67 kB / 0.791 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-05/0.7406, allocations: 23.92 kB / 0.791 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005334/0.7412, allocations: 352.9 kB / 0.7913 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004059/0.7416, allocations: 280.3 kB / 0.7916 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007267/0.7423, allocations: 447.1 kB / 0.792 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.813e-06/0.7423, allocations: 4 kB / 0.792 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008971/0.7432, allocations: 0.5238 MB / 0.7925 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.7433, allocations: 7.938 kB / 0.7925 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-06/0.7433, allocations: 4 kB / 0.7925 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.802e-06/0.7433, allocations: 4.281 kB / 0.7926 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005137/0.7438, allocations: 123.8 kB / 0.7927 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.7438, allocations: 4 kB / 0.7927 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005978/0.7444, allocations: 70.31 kB / 0.7927 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.019e-05/0.7445, allocations: 20 kB / 0.7928 GB, free: 6.805 MB / 0.6075 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001716/0.7447, allocations: 204.5 kB / 0.793 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.7448, allocations: 59.28 kB / 0.793 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009437/0.7457, allocations: 497.5 kB / 0.7935 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.7457, allocations: 4 kB / 0.7935 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.7458, allocations: 3.562 kB / 0.7935 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008384/0.7466, allocations: 0.7027 MB / 0.7942 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.7488, allocations: 1.278 MB / 0.7954 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/0.7488, allocations: 0 / 0.7954 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006926/0.7495, allocations: 139.5 kB / 0.7956 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.7495, allocations: 4 kB / 0.7956 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/0.7496, allocations: 11.98 kB / 0.7956 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004241/0.75, allocations: 0.5899 MB / 0.7962 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.75, allocations: 4.031 kB / 0.7962 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.7513, allocations: 0.8296 MB / 0.797 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002911/0.7516, allocations: 180.3 kB / 0.7971 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.014e-05/0.7517, allocations: 12 kB / 0.7971 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005216/0.7523, allocations: 47.86 kB / 0.7972 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.7524, allocations: 31.91 kB / 0.7972 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.7524, allocations: 15.98 kB / 0.7972 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005083/0.7529, allocations: 350.8 kB / 0.7976 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7529, allocations: 0 / 0.7976 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001227/0.7542, allocations: 367 kB / 0.7979 GB, free: 1.266 MB / 0.6075 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006599/0.7548, allocations: 200.7 kB / 0.7981 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001725/0.7566, allocations: 0.7153 MB / 0.7988 GB, free: 360 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.7566, allocations: 0 / 0.7988 GB, free: 360 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004552/0.757, allocations: 233 kB / 0.799 GB, free: 128 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/0.7588, allocations: 365.7 kB / 0.7994 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.7612, allocations: 1.634 MB / 0.801 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005102/0.7617, allocations: 0.9458 MB / 0.8019 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007049/0.7624, allocations: 208.9 kB / 0.8021 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.7625, allocations: 51.42 kB / 0.8022 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.7626, allocations: 0 / 0.8022 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of Templates: time 0.02235/0.7849, allocations: 12.31 MB / 0.8142 GB, free: 0.7891 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe 2>&1)