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.001147/0.001147, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001137/0.001137, allocations: 194.3 kB / 16.14 MB, free: 6.645 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.354/1.354, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9203/0.9203, allocations: 135.1 MB / 425.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 64.06 kB / 0.5047 GB, free: 5.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1965, allocations: 80.92 MB / 0.5837 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.5324/0.729, allocations: 182.8 MB / 0.7622 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0106/0.7396, allocations: 7.051 MB / 0.7691 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.7411, allocations: 27.81 kB / 0.7691 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.7425, allocations: 342.2 kB / 0.7694 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004491/0.747, allocations: 1.355 MB / 0.7708 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003282/0.7503, allocations: 1.055 MB / 0.7718 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003573/0.7539, allocations: 2.714 MB / 0.7745 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.7551, allocations: 0.5566 MB / 0.775 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001873/0.757, allocations: 0.7197 MB / 0.7757 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001652/0.7587, allocations: 0.6243 MB / 0.7763 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001833/0.7589, allocations: 36 kB / 0.7763 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004181/0.7631, allocations: 2.19 MB / 0.7785 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000413/0.7635, allocations: 263.2 kB / 0.7787 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000784/0.7643, allocations: 406 kB / 0.7791 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003577/0.7679, allocations: 1.831 MB / 0.7809 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.7679, allocations: 0 / 0.7809 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7679, allocations: 4 kB / 0.7809 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.237e-05/0.7679, allocations: 0 / 0.7809 GB, free: 3.453 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.002315/0.7703, allocations: 1.16 MB / 0.782 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.7703, allocations: 8.031 kB / 0.7821 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002088/0.7724, allocations: 270.8 kB / 0.7823 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.7735, allocations: 0.5831 MB / 0.7829 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.804e-05/0.7735, allocations: 45.31 kB / 0.7829 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-05/0.7737, allocations: 55.91 kB / 0.783 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.7749, allocations: 0.6362 MB / 0.7836 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.7749, allocations: 5.188 kB / 0.7836 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.188e-05/0.775, allocations: 24 kB / 0.7836 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/0.775, allocations: 17.31 kB / 0.7836 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.776, allocations: 0.5165 MB / 0.7841 GB, free: 40 kB / 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.003431/0.7794, allocations: 2.441 MB / 0.7865 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006549/0.7801, allocations: 383.7 kB / 0.7869 GB, free: 13 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003896/0.7805, allocations: 240 kB / 0.7871 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006165/0.7811, allocations: 311.6 kB / 0.7874 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.7812, allocations: 34.89 kB / 0.7875 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 1.993e-06/0.7812, allocations: 4 kB / 0.7875 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.001579/0.7828, allocations: 0.6044 MB / 0.788 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.7828, allocations: 67.33 kB / 0.7881 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006933/0.7835, allocations: 0.4911 MB / 0.7886 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.119e-05/0.7836, allocations: 37.7 kB / 0.7886 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002804/0.7839, allocations: 320.5 kB / 0.7889 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.7841, allocations: 142 kB / 0.7891 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.7843, allocations: 86.03 kB / 0.7892 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.7844, allocations: 374.7 kB / 0.7895 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003676/0.7848, allocations: 174.5 kB / 0.7897 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004258/0.7853, allocations: 284.3 kB / 0.7899 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007134/0.786, allocations: 449 kB / 0.7904 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.786, allocations: 0 / 0.7904 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000971/0.787, allocations: 0.5321 MB / 0.7909 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.787, allocations: 7.938 kB / 0.7909 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.787, allocations: 4.703 kB / 0.7909 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.787, allocations: 4 kB / 0.7909 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007247/0.7878, allocations: 135.4 kB / 0.791 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003681/0.7882, allocations: 0.6015 MB / 0.7916 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006797/0.7888, allocations: 77.78 kB / 0.7917 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/0.7889, allocations: 12 kB / 0.7917 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005262/0.7894, allocations: 352.9 kB / 0.792 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004006/0.7898, allocations: 284.3 kB / 0.7923 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007139/0.7906, allocations: 459.1 kB / 0.7928 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.414e-06/0.7906, allocations: 4 kB / 0.7928 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009547/0.7915, allocations: 0.52 MB / 0.7933 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.7916, allocations: 10.28 kB / 0.7933 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.7916, allocations: 4 kB / 0.7933 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.763e-06/0.7916, allocations: 4 kB / 0.7933 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004947/0.7921, allocations: 124.1 kB / 0.7934 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.7921, allocations: 4 kB / 0.7934 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006502/0.7928, allocations: 67.64 kB / 0.7935 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/0.7928, allocations: 16 kB / 0.7935 GB, free: 5.949 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.0001823/0.793, allocations: 212.5 kB / 0.7937 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.7931, allocations: 59.28 kB / 0.7937 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008805/0.794, allocations: 492.9 kB / 0.7942 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.794, allocations: 4 kB / 0.7942 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.794, allocations: 0 / 0.7942 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007604/0.7948, allocations: 0.7036 MB / 0.7949 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/0.7968, allocations: 1.282 MB / 0.7962 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.7968, allocations: 4 kB / 0.7962 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006239/0.7975, allocations: 126.4 kB / 0.7963 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.7975, allocations: 4 kB / 0.7963 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.7975, allocations: 12 kB / 0.7963 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002866/0.7978, allocations: 0.5898 MB / 0.7969 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.7978, allocations: 4.031 kB / 0.7969 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.799, allocations: 0.8335 MB / 0.7977 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/0.7993, allocations: 184.3 kB / 0.7979 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.078e-05/0.7993, allocations: 11.98 kB / 0.7979 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004786/0.7998, allocations: 43.88 kB / 0.7979 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.528e-05/0.7999, allocations: 27.95 kB / 0.7979 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.8, allocations: 16 kB / 0.798 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003923/0.8004, allocations: 354.8 kB / 0.7983 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8004, allocations: 4 kB / 0.7983 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001028/0.8014, allocations: 359.1 kB / 0.7986 GB, free: 420 kB / 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.0006351/0.802, allocations: 207.7 kB / 0.7988 GB, free: 216 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001709/0.8038, allocations: 0.6727 MB / 0.7995 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.8038, allocations: 0 / 0.7995 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004601/0.8043, allocations: 223.7 kB / 0.7997 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.8061, allocations: 361.5 kB / 0.8001 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.8084, allocations: 1.636 MB / 0.8017 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.8089, allocations: 0.9457 MB / 0.8026 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006986/0.8096, allocations: 207.2 kB / 0.8028 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.8097, allocations: 51.42 kB / 0.8028 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of SimCode: time 1.112e-06/0.8097, allocations: 0 / 0.8028 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of Templates: time 0.0208/0.8305, allocations: 11.95 MB / 0.8145 GB, free: 344 kB / 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)