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.001042/0.001041, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.00109/0.00109, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.025/1.025, allocations: 135.3 MB / 426.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003573, allocations: 12 kB / 0.507 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1809, allocations: 82.31 MB / 0.5874 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.5011/0.682, allocations: 168.3 MB / 0.7517 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009575/0.6916, allocations: 6.505 MB / 0.7581 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009776/0.6927, allocations: 27.81 kB / 0.7581 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009372/0.6936, allocations: 270.2 kB / 0.7584 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003308/0.6969, allocations: 1.054 MB / 0.7594 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002708/0.6997, allocations: 0.8386 MB / 0.7602 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003051/0.7027, allocations: 2.284 MB / 0.7624 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000854/0.7036, allocations: 0.4922 MB / 0.7629 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001687/0.7053, allocations: 0.6886 MB / 0.7636 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.7063, allocations: 0.5759 MB / 0.7642 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.706e-05/0.7064, allocations: 28 kB / 0.7642 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003513/0.71, allocations: 1.142 MB / 0.7653 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003167/0.7103, allocations: 247.2 kB / 0.7655 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002294/0.7105, allocations: 173.3 kB / 0.7657 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.712, allocations: 1.15 MB / 0.7668 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.7121, allocations: 0 / 0.7668 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7121, allocations: 0 / 0.7668 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.517e-05/0.7121, allocations: 0 / 0.7668 GB, free: 5.234 MB / 0.5762 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.001883/0.714, allocations: 1.028 MB / 0.7678 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.714, allocations: 8.031 kB / 0.7678 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001846/0.7159, allocations: 270.8 kB / 0.7681 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008896/0.7168, allocations: 0.5641 MB / 0.7686 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/0.7168, allocations: 41.31 kB / 0.7687 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.884e-05/0.7169, allocations: 52 kB / 0.7687 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.718, allocations: 0.6439 MB / 0.7694 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.7181, allocations: 3.906 kB / 0.7694 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.013e-05/0.7181, allocations: 20 kB / 0.7694 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.971e-05/0.7182, allocations: 21.31 kB / 0.7694 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009374/0.7191, allocations: 0.5282 MB / 0.7699 GB, free: 1.961 MB / 0.5762 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.002996/0.7221, allocations: 2.453 MB / 0.7723 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006085/0.7227, allocations: 383.7 kB / 0.7727 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003665/0.7231, allocations: 241.5 kB / 0.7729 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000549/0.7237, allocations: 315.6 kB / 0.7732 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.7237, allocations: 34.89 kB / 0.7732 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 1.804e-06/0.7237, allocations: 0 / 0.7732 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39): time 0.001312/0.725, allocations: 0.6239 MB / 0.7739 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.7251, allocations: 59.34 kB / 0.7739 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005437/0.7256, allocations: 0.4911 MB / 0.7744 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/0.7257, allocations: 41.7 kB / 0.7744 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.7259, allocations: 324.4 kB / 0.7747 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.726, allocations: 142 kB / 0.7749 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.233e-05/0.7261, allocations: 8 kB / 0.7749 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.7262, allocations: 366.8 kB / 0.7752 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/0.7266, allocations: 164.8 kB / 0.7754 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004186/0.727, allocations: 288.3 kB / 0.7757 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003682/0.7274, allocations: 219.8 kB / 0.7759 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7274, allocations: 4 kB / 0.7759 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008637/0.7282, allocations: 0.5187 MB / 0.7764 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-05/0.7284, allocations: 161 kB / 0.7765 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.7284, allocations: 0 / 0.7765 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.7284, allocations: 15.89 kB / 0.7766 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007122/0.7291, allocations: 143.5 kB / 0.7767 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000354/0.7295, allocations: 0.5976 MB / 0.7773 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005617/0.73, allocations: 86.33 kB / 0.7774 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.863e-05/0.7301, allocations: 16 kB / 0.7774 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.313e-06/0.7301, allocations: 4 kB / 0.7774 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007872/0.7309, allocations: 459.5 kB / 0.7778 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.7309, allocations: 4 kB / 0.7778 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/0.7309, allocations: 4 kB / 0.7778 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004826/0.7314, allocations: 132.1 kB / 0.7779 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.7314, allocations: 4 kB / 0.7779 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004961/0.7319, allocations: 75.59 kB / 0.778 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.611e-05/0.732, allocations: 20 kB / 0.778 GB, free: 9.207 MB / 0.5919 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.0003308/0.7323, allocations: 308.9 kB / 0.7783 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.083e-05/0.7324, allocations: 63.25 kB / 0.7784 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008767/0.7333, allocations: 487 kB / 0.7789 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.7333, allocations: 4 kB / 0.7789 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.7333, allocations: 0 / 0.7789 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007755/0.7341, allocations: 0.7143 MB / 0.7796 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/0.736, allocations: 1.286 MB / 0.7808 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.7361, allocations: 7.953 kB / 0.7808 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005992/0.7367, allocations: 138.1 kB / 0.781 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.355e-06/0.7367, allocations: 4 kB / 0.781 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/0.7367, allocations: 19.92 kB / 0.781 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003084/0.737, allocations: 0.5905 MB / 0.7816 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.737, allocations: 4.031 kB / 0.7816 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.7382, allocations: 0.8413 MB / 0.7824 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002221/0.7384, allocations: 176.4 kB / 0.7825 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.619e-05/0.7385, allocations: 12 kB / 0.7826 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004407/0.739, allocations: 47.95 kB / 0.7826 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/0.739, allocations: 31.86 kB / 0.7826 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.7391, allocations: 19.98 kB / 0.7827 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003829/0.7395, allocations: 342.8 kB / 0.783 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7395, allocations: 0 / 0.783 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000946/0.7404, allocations: 371 kB / 0.7833 GB, free: 3.523 MB / 0.5919 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.0004964/0.7409, allocations: 209.4 kB / 0.7835 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001353/0.7423, allocations: 0.6839 MB / 0.7842 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.7423, allocations: 4.125 kB / 0.7842 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004048/0.7427, allocations: 223.8 kB / 0.7844 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.7443, allocations: 360.8 kB / 0.7848 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.7468, allocations: 1.711 MB / 0.7864 GB, free: 332 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005869/0.7474, allocations: 0.9535 MB / 0.7874 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007245/0.7482, allocations: 201 kB / 0.7876 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.7483, allocations: 47.44 kB / 0.7876 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of SimCode: time 1.012e-06/0.7483, allocations: 0 / 0.7876 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of Templates: time 0.02042/0.7687, allocations: 11.55 MB / 0.7989 GB, free: 3.75 MB / 0.6075 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)